Operating System - HP-UX
1827158 Members
2032 Online
109716 Solutions
New Discussion

Using adb to find out CPU speed

 
SOLVED
Go to solution
Sana Chaarani
Occasional Contributor

Using adb to find out CPU speed

Hi,

I always use the following command to find out CPU speed on my box :
echo "itick_per_usec/D" | adb -k /stand/vmunix /dev/mem
It always worked for me but for some reason, it doesn't work on one of my 11.11 box with a vpar configuration. It works on vpar0 but doesn't return anything on vpar1.

Any clues ?

Thanks,

Sana
2 REPLIES 2
Geoff Wild
Honored Contributor
Solution

Re: Using adb to find out CPU speed

Try this script - works on my 11.11.



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.
Uday_S_Ankolekar
Honored Contributor

Re: Using adb to find out CPU speed

One guess is increase the kernel parameter maxdsiz to a larger value to allow adb to output the result of this command.
We had this problem on one of the 11.11 server and weincreased the value of maxdsiz to fix this

Your adb command is correct.

-USA..

Good Luck..