System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Command to check HP-UX server spec

ng_7
Regular Advisor

Command to check HP-UX server spec

hi, friends,

can please tell me what is the command to check my HP-UX 11i server ? I want to know my server RAM and processor spec

thank you very much

 

 

P.S. This thread has been moved from HP-UX > Serviceguard to HP-UX > sysadmin. - Hp Forum Moderator

7 REPLIES
Redhat
Trusted Contributor

Re: Command to check HP-UX server spec

SPEED=`echo itick_per_tick/D | adb -k /stand/vmunix /dev/mem | tail -1| awk '{print $2/10000"Mhz"}'`

No of processor:
ioscan -C processor | grep processor | wc -l

Memory:-
dmesg | grep '^ *Physical:' | head -1 |
awk -F' ' '{printf("%dMB\n", $2 / 1024)}'
skt_skt
Honored Contributor

Re: Command to check HP-UX server spec

i would suggest to use cstm;map;sel dev devnum;info;infolog
Asif Sharif
Honored Contributor

Re: Command to check HP-UX server spec

Hi NG,

Please find the attached script which will fulfill your requirement. I have download this script from this forum.


Regards,
Asif Sharif
Basheer_2
Trusted Contributor

Re: Command to check HP-UX server spec

as root, do

/opt/ignite/bin/print_manifest
Mostafa_Shawky
Occasional Visitor

Re: Command to check HP-UX server spec

Thanks...It help me
RAJD1
Valued Contributor

Re: Command to check HP-UX server spec

Have you tried  , machinfo , the quick and best tool for cpu,memory. (11.23/11.31)

 

/usr/contrib/bin/machinfo    ENTER.

 

 

Cheers,

Bill Hassell
Honored Contributor

Re: Command to check HP-UX server spec

I wrote hostinfo.sh to replace /etc/motd as the login message for /etc/profile.

It works on all models of PA-RISC and Itanium running any version of HP-UX starting with 10.20.

Here are a couple of samples:

 

##       Hostname:           atl1
##       HP-UX version:      11.23
##       HP model:           9000/800/L1500-6x
##       Processor cores:    2
##       Processor speed:    650 MHz
##       System memory:      4096 MB
##       Serial Number:      SGH4235LNV

##       Hostname:           atl4
##       HP-UX version:      10.20
##       HP model:           9000/800/A180c
##       Processor cores:    1
##       Processor speed:    180 MHz
##       System memory:      2048 MB
##       Serial Number:      N/A

##       Hostname:           atl6
##       HP-UX version:      11.31
##       HP model:           ia64 hp server rx2660
##       Processor cores:    2
##       Processor speed:    415 MHz
##       System memory:      8170 MB
##       Serial Number:      USE0808AEN

 This makes gathering HP-UX server information much easier.

 



Bill Hassell, sysadmin