Operating System - HP-UX
1856461 Members
4795 Online
104113 Solutions
New Discussion

Re: command line for processor speed?

 
SOLVED
Go to solution
Jenny C
Advisor

command line for processor speed?

Is there a command line by which I could find out the hardware processor speed (such as 550MHz, etc) and return the number of processors in side the box?

GlancePlus tells the number of CPUs, but doesn't seem to tell me the processor speed.

Thanks in advance for your help!
8 REPLIES 8
Pete Randall
Outstanding Contributor
Solution

Re: command line for processor speed?

try this

Pete
Helen French
Honored Contributor

Re: command line for processor speed?

Hi,

Try this:

# echo itick_per_usec/D | adb -k /stand/vmunix dev/mem

HTH,
Shiju
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: command line for processor speed?

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
==> gives processor speed

# echo runningprocs/D | adb -k /stand/vmunix /dev/mem
==> gives number of processors
Pete Randall
Outstanding Contributor

Re: command line for processor speed?

That works, too, but I think Shiju meant to say

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

Without the /, dev/mem is not found.

Pete
Helen French
Honored Contributor

Re: command line for processor speed?

Hi Pete:

Thanks for the correction, it was a typo !

Jamie, yes you have to use /dev/mem. Also you can use SAM for getting all these information.

HTH,
Shiju
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: command line for processor speed?

Hi Shiju,

I figured it had to be a typo, you wouldn't make a mistake like that ;>)

Pete

Pete
Sanjay_6
Honored Contributor

Re: command line for processor speed?

Hi Jamie,

For no of processors,

ioscan -fnk |grep processor

for processor speed,

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

or

Sam -> Performance Monitors-> System Properties

Hope this helps.

Regds
MANOJ SRIVASTAVA
Honored Contributor

Re: command line for processor speed?

Hi Jamie

You may also like to see

sam----->performance Monitors----->system properties--------Processor will give u what u want.



Manoj Srivastava