cancel
Showing results for 
Search instead for 
Did you mean: 

Processor Speed

SOLVED
Go to solution
Ricky B. Nino
Frequent Advisor

Processor Speed

Hi,

1. How can I check/identify my systems Processor speed?

2. How can I check/identify how many processor/s do I have in my system?

Thanks...
Opportunities expand for people willing to put time and effort into learning new skills.
13 REPLIES
avsrini
Trusted Contributor
Solution

Re: Processor Speed

Hi,
Check the following

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062972855

Use top to get the no. of processors.

and

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

to get the processor speed


Srini.
Be on top.
Ian Kidd_1
Trusted Contributor

Re: Processor Speed

you can also do this in sam.

performance monitors -> system properties.

look at the processor tab, which should be the one that comes up anyways.
If at first you don't succeed, go to the ITRC
Michael Tully
Honored Contributor

Re: Processor Speed

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

You can get the number of processes a few ways.

top
glance

or using stm, will get you a little more info.

# "seclass qualifier cpu;info;wait;infolog" | cstm
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Processor Speed

If I can spell and type at the same time:

# "echo selclass qualifier cpu;info;wait;infolog" | cstm

This will actually give you both, divide the processor speed by 1,000,000
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Processor Speed

I must be having a brain day.....

Another way to see the number of processors is:

# echo "runningprocs/D" | adb -k /stand/vmunix /dev/kmem
Anyone for a Mutiny ?
Ricky B. Nino
Frequent Advisor

Re: Processor Speed

Guys,

Just to summarize...

1. 1. How can I check/identify my systems Processor speed?

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

2. How can I check/identify how many processor/s do I have in my system?

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

BTW, with command #2 I have verified that I have 2 working CPUs. But when I issued command #1 it only gives me 1 processor speed. Why?
Opportunities expand for people willing to put time and effort into learning new skills.
John Poff
Honored Contributor

Re: Processor Speed

Hi,

You only get one processor speed reported because all the CPUs must run at the same speed in an HP9000.

JP
Hank Eggers
Frequent Advisor

Re: Processor Speed

We have a n-class with 360mhz processors.

We were told by HP that we could install 440mhz processors in the same machine but they would operate at 360mhz...

Is this not the case?
Sanjay_6
Honored Contributor

Re: Processor Speed

Hi,

Multiple processor on the same system are running at the same speed.

Hope this helps.

Regds
Robert-Jan Goossens
Honored Contributor

Re: Processor Speed

Hi,

You can also use,

db001:/etc# ioscan -fnkC processor
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
processor 0 160 processor CLAIMED PROCESSOR Processor
processor 1 166 processor CLAIMED PROCESSOR Processor

Hope it helps,

Robert-Jan.
Mike Stroyan
Honored Contributor

Re: Processor Speed

You can actually get clock rate information for each processor with the pstat_getprocessor function.
That still reports the same speed for every processor. Here is a small example program.

#include
#include
#include
#include
int main(int argc, char *argv[])
{
struct pst_processor st;
int id;
for (id=0; pstat_getprocessor(&st, sizeof(st), (size_t)1, id)==1; id++) {
printf("processor %d- %d clock cycles per second\n",
id, st.psp_iticksperclktick * sysconf(_SC_CLK_TCK));
}
return 0;
}
Mary Claire Pollard
Occasional Advisor

Re: Processor Speed

ummm, I read about the stm that was just posted. I got into it, and can't get out! I know, I know...what a sad, sad post. Can somebody help me?

Thanks,
Mary P.

Jeff Schussele
Honored Contributor

Re: Processor Speed

Hi Mary,

Don't be hard on yourself, we all have days like this.

Not sure whether you're sitting at a
cstm>
prompt or not.
If so just type quit & 2 returns to get out.
If you went into cstm via the echo/pipe routine a ctrl-C should get you out. If that doesn't do it try the delete key. If that doesn't do it try the ctrl-backslash.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!