1846596 Members
2452 Online
110256 Solutions
New Discussion

CPU speed

 
Gino_5
New Member

CPU speed

Hello all
i would like to know the CPU speed of a server.
I runned stm and it showed "not available".
Is there any other way to get the information i want?
OS version is HP-UX 11i

thanks a lot
14 REPLIES 14
Pete Randall
Outstanding Contributor

Re: CPU speed

I use this little script:

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ


Pete



Pete
Ian Dennison_1
Honored Contributor

Re: CPU speed

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x129338dfa974d711abdc0090277a778c,00.html

Here you go; the question answers the main "how-to" and the 1st answer shows how to get around vPars.

Share and Enjoy! Ian
Building a dumber user
Uday_S_Ankolekar
Honored Contributor

Re: CPU speed

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

-USA..
Good Luck..
PIYUSH D. PATEL
Honored Contributor

Re: CPU speed

Uday_S_Ankolekar
Honored Contributor

Re: CPU speed

Or from sam

Choose "Performance Monitors" from the main menu.
select "System Properties"
Tab "Processor" gives you the info you needed

-USA..
Good Luck..
Geoff Wild
Honored Contributor

Re: CPU speed

The adb works, here's a script that I use called hpmem....

Sample output:

HP-UX system3 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 1008 MB
maxuprc: 800
maxvgs: 80
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 2984
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 10


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.
William Wong_2
Trusted Contributor

Re: CPU speed

Rebooting the machine and interrupting the boot process will also show how many processors and what speed each of the processors are in the server.
Paul Sperry
Honored Contributor

Re: CPU speed

SAM>>>Performance Monitors>>>System Properties
Tim D Fulford
Honored Contributor

Re: CPU speed

try "model", it does not require root privalages. If you have a rp type server it will be listed as rpXXXX-NN where NN is the speed/10 e.g. -75 would be 750MHz, If it is an an A, N L class a similar message should appear, Say L2000-5x, whuch would be 550MHz, if it is an older bos use the adb method mentioned numerous times above.

Regards

Tim
-
Anil C. Sedha
Trusted Contributor

Re: CPU speed

Simple command to be run as root on any version of hp-ux

/usr/sam/lbin/samx -C /usr/sam/lib/C/mo.ui

Regards,
Anil
If you need to learn, now is the best opportunity
John Meissner
Esteemed Contributor

Re: CPU speed

I'm attaching a script I've written that will tell you how many cpu's and what speed they are

All paths lead to destiny
Caesar_3
Esteemed Contributor

Re: CPU speed

Hello!

You could see the speed when you boot
or do this:
echo itick_per_tick/D | adb /stand/vmunix /dev/kmem | sed -n '2p' | awk '{print $2}' | sed 's/0000$//g'

Caesar
KCS_1
Respected Contributor

Re: CPU speed

Hi,

SAM -> performance monitor -> system properties


Easy going at all.
twang
Honored Contributor

Re: CPU speed

To know the cpu speed, use the following command:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem