1837781 Members
4281 Online
110119 Solutions
New Discussion

Re: HP Machine Specifics

 
nick_202
Occasional Contributor

HP Machine Specifics

Hi,

I am an AIX admin, and have a few HP machines. I want to get the specifications of these HP machines. Can you tell me what are the commands to use so tha ti can fine out the specifications like:
1) Number of CPU,
2) CPU type
3) CPu speed
4) Paging space (and used %)
5) amt of memory (and used %)
6) Kernel type (32 bit or 64 bit)
7) Firmware version
8) If Raid is being used and if so waht level
etc etc

in AIX i can get most of the info by using commands like lsconf, lsdev, lsattrr, lsps, lscfg, uname, etc.

Are there any simillar commands i can use on HP? I got some info like model using the uname and model commands.
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: HP Machine Specifics

Hi,

1
# ioscan -fnkC processor

2
# model
9000/800/L2000-44
# grep L2000 /usr/sam/lib/mo/sched.models

3
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

6
# file /stand/vmunix

7
# grep -i version /var/tombstones/ts99

Robert-Jan
Pete Randall
Outstanding Contributor

Re: HP Machine Specifics

Nick,

1) ioscan -k |grep -n processor |wc -l

2) maybe through STM

3) echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}'

4) swapinfo -tam

5) HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM

6) file /stand/vmunix

7) maybe STM

8) depends on the array


Pete

Pete
RAC_1
Honored Contributor

Re: HP Machine Specifics

1. /usr/sbin/ioscan -fnCprocessor
2. & 3. echo "selclass qualifier cpu;info;wait;infolog"|cstm
4. vmstat, swapinfo
5. glance -m (you need to have glance)
Else vmstat to know free mem. grep -i physical /var/adm/syslog/syslog.log - total ram on machine
6. file /stand/vmunix or getconf KERNEL_BITS
7. same as 2 and 3 (Firmware version of what)
8. SAM - disk management. Or arm commands.

Anil
There is no substitute to HARDWORK
Gordon  Morrison
Trusted Contributor

Re: HP Machine Specifics

1) "ioscan -fn" gives info on all connected hardware. "top" command has a line near the top for each CPU, "glance" has a CPU report screen
2) See "man stm" it's not very friendly, I'm afraid.
3) stm again, unfortunately
4) swapinfo (glance may also be useful, depending what you want)
5) swapinfo (glance may also be useful, depending what you want)
6)"file /stand/vmunix" The following output shows that it's a 64 bit kernel:
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)

I'm afraid I'll have to say "pass" on 7 & 8
I look forward to seeing the answers myself!
What does this button do?
Florian Heigl (new acc)
Honored Contributor

Re: HP Machine Specifics

"/opt/ignite/bin/print_manifest" for a good overview

"getconf HW_CPU_SUPP_BITS" for the running kernel

cpu speed is usually enconded in the output of
"model"

Firmware is only available through the GSP (guardian service processor), I think.

RAID? - software raid?
lvdisplay -v /dev/vg/lvol* | grep -i mirror

also a lot of hardware information is available in the STM, called by 'mstm'
yesterday I stood at the edge. Today I'm one step ahead.