- Community Home
- >
- Operating Systems
- >
- HP-UX
- >
- System Administration
- >
- HP-UX B.11.11 U 9000/800
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
HP-UX B.11.11 U 9000/800
(431 Views)
Reply
Topic Options
- Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-20-2007 07:57 PM
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.
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.
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-21-2007 12:59 AM
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
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 ***
Message 3 of 8
(431 Views)
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-21-2007 01:01 AM
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/question answer.do?threadId=851889
Pete
Pete
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
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/question
Pete
Pete
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-21-2007 01:07 AM
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
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 ***
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-21-2007 01:15 AM
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 "
...
__________________________________________________
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! star in the left column!
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 "
...
__________________________________________________
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! star in the left column!
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-21-2007 04:24 AM
All the above are excellent options..
A manual way is to look in SAM under monitoring-system properties.
A manual way is to look in SAM under monitoring-system properties.
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-24-2007 12:31 AM
How about print_manifest? It gives your syste systems setup
Re: HP-UX B.11.11 U 9000/800
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-24-2007 12:31 AM
How about print_manifest? It gives your systems setup
