1751860 Members
5226 Online
108782 Solutions
New Discussion юеВ

HP-UX B.11.11 U 9000/800

 
diwa
Frequent Advisor

HP-UX B.11.11 U 9000/800

Hi,

I want to know configurations on my unix:

CPU details:
a) Kernel:
b) Clock:

RAM details:

Actually i am preparing capcity planning doc in which i have menation existing configurations.
Could any one please give any command?

Thanks.
7 REPLIES 7
V. Nyga
Honored Contributor

Re: HP-UX B.11.11 U 9000/800

Hi,

cpu speed:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

memory:
echo "phys_mem_pages/D" | adb /stand/vmunix /dev/kmem|grep phys|tail -1|awk '{printf "%.0f Mb\n",$2
/256}'


Volkmar
*** Say 'Thanks' with Kudos ***
Pete Randall
Outstanding Contributor

Re: HP-UX B.11.11 U 9000/800

If you have Ignite installed, you can use the print_manifest command.

You can also use SAM to display system properties (Sam -> Performance
Monitors -> System Properties).

There are also utilities like "cfg2html" ( http://come.to/cfg2html ),
"nickel" ( ftp://ftp.hp.com/pub/catia/Utils/nickel.shar ) and "sysinfo"
( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/ ).

You can also obtain this information from the command line with a
series of little scripts like these:

CPU

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

#Note: for 11.23 RISC, use
MHZ=$(echo itick_per_tick/D \ # echo "itick_per_usec/d" \
| adb -k $HPUX /dev/kmem \ # | adb $HPUX /dev/kmem
| tail -1 \ #For Itanium, use machinfo
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Number of CPUs

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


Support Tools Manager (STM) CPU info:

echo "selclass qualifier cpu;info;wait;infolog" | cstm




RAMHPUX=/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


Support Tools Manager (STM) RAM info:

echo "selclass qualifier memory;info;wait;infolog" | cstm




You can obtain CPU speed and RAM without CSTM or root access as described by Tom
Ferony (under Nancy Rippey's login) here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete
V. Nyga
Honored Contributor

Re: HP-UX B.11.11 U 9000/800

The second must be a one-liner :-)

For more RAM details (size and location of a single stick) you have to stop booting and go to the information menu.

Kernel ..? Do you mean firmware?
With 'kmtune' you'll see the current kernel parameter of hp-ux, don't know if you mean this.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Torsten.
Acclaimed Contributor

Re: HP-UX B.11.11 U 9000/800

The online diags are always a good source of information as mentioned earlier.

The memory info tool will show you both, occupied and free slots, e.g.

Memory Board Inventory

DIMM Location Size(MB) State Serial Num Part Num
-------------------- -------- ------- ---------------- ------------------
Cab 0 Cell 1 DIMM 0A 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 0B 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 1A 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 1B 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 2A 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 2B 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 3A 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 3B 2048 Config PRYxxxxxxx A9846-60301
Cab 0 Cell 1 DIMM 4A ---- ---- ---- ----
Cab 0 Cell 1 DIMM 4B ---- ---- ---- ----
Cab 0 Cell 1 DIMM 5A ---- ---- ---- ----
Cab 0 Cell 1 DIMM 5B ---- ---- ---- ----
Cab 0 Cell 1 DIMM 6A ---- ---- ---- ----
Cab 0 Cell 1 DIMM 6B ---- ---- ---- ----

...

The CPU info tool can give you at least the model, but try Pete's script.

At least for HP-UX 11.23 on Integrity and 11.31 on PA-RISC and Integrity you can run

/usr/contrib/bin/machinfo

to get a summary:

/usr/contrib/bin/machinfo
CPU info:
1 PA-RISC 8800 processor (800 MHz, 32 MB)
CPU version 4
2 logical processors (2 per socket)

Memory: 2046 MB (2 GB)

Firmware info:
Firmware revision: 46.34
IPMI is supported on this system.
BMC firmware revision: 3.52

Platform info:
Model: "9000/800/rp3440 "
...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim Nelson
Honored Contributor

Re: HP-UX B.11.11 U 9000/800

All the above are excellent options..

A manual way is to look in SAM under monitoring-system properties.

Norman Dignard
Regular Advisor

Re: HP-UX B.11.11 U 9000/800

How about print_manifest? It gives your syste systems setup
Norman Dignard
Regular Advisor

Re: HP-UX B.11.11 U 9000/800

How about print_manifest? It gives your systems setup