1827286 Members
1581 Online
109717 Solutions
New Discussion

Re: Processor Speed ?

 
SOLVED
Go to solution
Kevin Beresford
Occasional Contributor

Processor Speed ?

Hi Everyone,

I need to determine what speed the processor is running at on our server.

Is there a command which will display this information ?

Thanks guys !
8 REPLIES 8
James Murtagh
Honored Contributor

Re: Processor Speed ?

Hi Kevin,

You can use:

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

or

# echo itick_per_tick/D | adb -k /stand/vmunix dev/kmem

Regards,

James.
T G Manikandan
Honored Contributor
Solution

Re: Processor Speed ?

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

This should give the speed

Also check

SAM--->performance monitor--->system properties-->cpu

Yogeeraj_1
Honored Contributor

Re: Processor Speed ?

hi,

try:

HZ=`echo itick_per_tick/D | adb -k /stand/vmunix /dev/kmem|tail -1|cut -f2`
((MHZ=$HZ/10000))
echo $MHZ

hth
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Kevin Beresford
Occasional Contributor

Re: Processor Speed ?

I used "SAM" as suggested by T G Manikandan as it seemed the easiest way. I got the info I needed so Thanks !

Out of interest I tried the command line option that you all supplied, but got back some different errors....

[A583S002:/.root] echo itick_per_usec/D | adb -k /stand/vmunix dev/kmem
cannot open `dev/kmem'
itick_per_usec:
itick_per_usec:
data address not found
[A583S002:/.root] echo itick_per_usec/D | adb /stand/vmunix/dev/mem
cannot open `/stand/vmunix/dev/mem'
symbol not found
[A583S002:/.root]

But thats probably just me typing it in wrong !

Anyway thanks very much to all of you, for the taking the time to help, much appreciated !

Maybe someday (after a lot more practice) I will be able to help you with something !

Kind Regards

Kevin
James Murtagh
Honored Contributor

Re: Processor Speed ?

Hi Kevin,

Yup, first time you missed a / before the dev, second time no space between vmunix and /dev.

Cheers,

James.
James Murtagh
Honored Contributor

Re: Processor Speed ?

Oops, my fault, I missed it from my first example. ho hum.

Here is the correct syntax:

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem
T G Manikandan
Honored Contributor

Re: Processor Speed ?

First time you tried without a "/" before /dev

Second time no space in between /stand/vmunix and /dev/kmem.

If still a problem check the files using

#ls -l /dev/kmem
#ls -l /dev/mem

It should be like
crw-r----- 1 bin sys 3 0x000001 Oct 6 2000 /dev/kmem
crw-r----- 1 bin sys 3 0x000000 Oct 6 2000 /dev/mem

Revert on the same.



H.Merijn Brand (procura
Honored Contributor

Re: Processor Speed ?

I'm too late, I know, but please visit http://www.cmve.net/~merijn or https://www.beepz.com/personal/merijn and check the 'ux' script in the FAQ section.

It not only answers your questions, but tries very hard to answer more of these questions.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn