1833123 Members
3241 Online
110051 Solutions
New Discussion

Re: CPU MHz in 11.23

 
SOLVED
Go to solution
Michael Steele_2
Honored Contributor

CPU MHz in 11.23

How you all doin?

Anyone got a command for reading CPU MHZ in a PA RISC 11.23 system?

"...echo itick_per_usec/D | adb /stand/vmunix /dev/mem..." fails, as does,

"...echo "selclass qualifier CPU;info;wait;il" | cstm | grep "Processor Speed"...".

The later returns an unfilled data field value of 'N/A'.

Thanks in Advance!
Support Fatherhood - Stop Family Law
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: CPU MHz in 11.23

Hi Michael:

For a PA-RSIC 11.23 machine, this should work:

# echo "itick_per_usec/d" | adb /stand/vmunix /dev/kmem

For Itanium, use:

# machinfo

Regards!

...JRF...

Steven E. Protter
Exalted Contributor

Re: CPU MHz in 11.23

Shalom Michael,

I've played around with one of our few 11.23 Itanium systems and found the menu system for cstm appears to be different.

Therefore the echo selclass ... statement probably needs to be changed.

its safe to assume this would be the problem for PA-RISC.

No help for you on the first command.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: CPU MHz in 11.23

The stm will tell you "please use /usr/contrib/bin/machinfo" - just run this command.

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!   
Michael Steele_2
Honored Contributor

Re: CPU MHz in 11.23

.
Support Fatherhood - Stop Family Law
Andrew Merritt_2
Honored Contributor

Re: CPU MHz in 11.23

To use STM on 11.23 to show the processor speed, this should work:

echo "selclass qualifier system;info;wait;il" | cstm | grep -i "cpu speed"

Andrew
Andrew Merritt_2
Honored Contributor

Re: CPU MHz in 11.23

I really must check more carefully before posting; the command I gave above will work for PA systems running 11.23. For IA systems, use '/usr/contrib/bin/machinfo' as previously noted.

Andrew