Operating System - HP-UX
1834556 Members
3478 Online
110069 Solutions
New Discussion

Finding Processor Make and Speed on HP-UX 11.0

 
SOLVED
Go to solution
Manjunath Shastry
Frequent Advisor

Finding Processor Make and Speed on HP-UX 11.0

How can I find Processor speed and make on HP-UX 11.0
A Horse that kicks doesn 't pull
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: Finding Processor Make and Speed on HP-UX 11.0

Speed:

HPUX=/stand/vmunix

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



Make:

I assume they're made by HP.




Pete

Pete
H.Merijn Brand (procura
Honored Contributor

Re: Finding Processor Make and Speed on HP-UX 11.0

use the 'ux' script available on https://www.beepz.com/personal/merijn/ #FAQor http://www.cmve.net/~merijn/#FAQ to see

a5:/ 101 # ux
a5 HP-UX 11.00/64 U 9000/800/A500-7X/64 PA8700/750(2) pa-2.0 2048 Mb
a5:/ 102 #

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Trond Haugen
Honored Contributor

Re: Finding Processor Make and Speed on HP-UX 11.0

You can use these commands:
getconf CLK_TCK
getconf MACHINE_MODEL
and of course model. There are loads of other options to getconf.

Regards,
Trond

Regards,
Trond Haugen
LinkedIn
Robert-Jan Goossens
Honored Contributor

Re: Finding Processor Make and Speed on HP-UX 11.0

Hi,

You can find this and lots of other questions on next link.

http://www.cmve.net/~merijn/

Hope it helps,

Robert-Jan.
John Meissner
Esteemed Contributor

Re: Finding Processor Make and Speed on HP-UX 11.0

The command I use to get the processor speed is this:

echo itick_per_tick/D | adb /stand/vmunix /dev/kmem

This will come up with a figure like this:

itick_per_tick:
itick_per_tick: 5500000

basically this means you have a 550 Mhz processor


All paths lead to destiny
H.Merijn Brand (procura
Honored Contributor

Re: Finding Processor Make and Speed on HP-UX 11.0

Trond, /does/ CLK_TCK have *any* relation with the CPU?

For me it returns 100 on all machines

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Trond Haugen
Honored Contributor

Re: Finding Processor Make and Speed on HP-UX 11.0

Well procura, no. Had I followed my own advise and read the man page I would have found:
EXAMPLES
Request the number of intervals per second:
getconf CLK_TCK

I tested the command on my C100 to "prove" my meory. Which it didn't.
Thanks for pointing out the mistake.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn