Operating System - HP-UX
1830938 Members
2157 Online
110017 Solutions
New Discussion

How to see the processor information

 
SOLVED
Go to solution
Guna_2
Regular Advisor

How to see the processor information

Hi,

How can i check the processor details(speed, no.of processor) in a working hp box?


Thanking You.
Guna

11 REPLIES 11
Yogeeraj_1
Honored Contributor
Solution

Re: How to see the processor information

hi Guna,

once easy method is to run SAM.

then go to "Performance Monitors" -> "System Properties "

The first tab will give you all the desired information

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Guna_2
Regular Advisor

Re: How to see the processor information

Dear yogeeraj,

Is any other commands to check the details other than SAM.

Thanks,
Guna.
Yogeeraj_1
Honored Contributor

Re: How to see the processor information

hi Guna,

can you try the attached script and let me know if ok

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
SANTOSH S. MHASKAR
Trusted Contributor

Re: How to see the processor information

U can use following

# cstm

cstm> selclass type "Processor" qualifier "CPU"
cstm> information; wait
cstm> infolog

- Santosh
Senthil Prabu.S_1
Trusted Contributor

Re: How to see the processor information

Hi,

use ioscan command to find details about CPU on HP-UX.

To be more specific, use ioscan -fnC processor


HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Geoff Wild
Honored Contributor

Re: How to see the processor information

And of course the obligatory perl way:


# cat cpuspeed
perl -e 'local($PSTAT, $PSTAT_PROCESSOR)=(239,10);
local($struct_pst_processor)=("L30");
local($cpu_info, $cpu_ticks);
$cpu_info = "\0" x 120;
syscall($PSTAT, $PSTAT_PROCESSOR, $cpu_info, length($cpu_info), 1, 0);
($cpu_ticks)=(unpack($struct_pst_processor, $cpu_info))[26];
print "speed=".int($cpu_ticks/10000)." Mhz\n";'

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Torsten.
Acclaimed Contributor

Re: How to see the processor information

Hi,

for an Integrity server the command is

/usr/contrib/bin/machinfo

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!   
Guna_2
Regular Advisor

Re: How to see the processor information

Dear yogeeraj,

With ur script

its showing the cpu speed as 0 MHz


and for ur information my hp version is HP B.10.20

Rgds,
Guna
Guna_2
Regular Advisor

Re: How to see the processor information

Dear yogeeraj,

I am sorry

Ur script is working fine.

Thank You
Guna_2
Regular Advisor

Re: How to see the processor information

Thank for all of ur eforts.