1855947 Members
2262 Online
104107 Solutions
New Discussion

system info

 
Charles THISE
Occasional Advisor

system info

Hi,

How can i know the number of CPU and their kind, also the capacity of RAM on a HPUX 10.20, without using SAM( just in command line).
By SAM is in performance monitor, system properties. But what about the command line ?

In advance, i thank you.

BYE !!
4 REPLIES 4
Andreas Voss
Honored Contributor

Re: system info

Hi,

please visit this thread:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x60ef5f260cafd4118fef0090279cd0f9,00.html

Number of processors can be found with:
ioscan -kC processor
Regards
Kofi ARTHIABAH
Honored Contributor

Re: system info

Charles, this question has been asked a couple of times in the forums. If you do a search for system info or model or system performance you will get quite a list. to get you started:

use "model" command for information about your cpu
use grep -i physical /var/adm/syslog/syslog.log for memory size

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xdc4068c57f64d4118fee0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf9ed5f260cafd4118fef0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf299c3d7fb78d4118fef0090279cd0f9,00.html
nothing wrong with me that a few lines of code cannot fix!
federico_3
Honored Contributor

Re: system info

try these:

About REAL MEMORY in MBs -> echo "physmem/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'

About CPUs number -> ioscan -fC processor | grep processor | wc -l

About CPU type -> model
About CPU speed in MHz -> echo "itick_per_tick/D "| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/10000} '


regards,

Federico
federico_3
Honored Contributor

Re: system info

Hi,

i would say a more precise thing about the kind of CPU:

The command "model " gives the hardware model : in order to know the CPU version you should do :
cat /usr/sam/lib/mo/sched.models | grep `model | awk -F "/" '{print $3} ' `

This works fine but the file sched.models could be missing ( there is surely HP_UX 11.00 and if you have a HP 11.00 machine you can use it for your scope )

Federico