1834469 Members
2882 Online
110067 Solutions
New Discussion

processor speed ???

 
A.Vishwanath_2
Advisor

processor speed ???

Can some one tell how to see the processor model type and its speed in te OS itself.
6 REPLIES 6
Rajeev  Shukla
Honored Contributor

Re: processor speed ???

Hi Have a look at this site in the bottom, you'll find more amazing things
https://www.beepz.com/personal/merijn/
Thayanidhi
Honored Contributor

Re: processor speed ???

Hi,

If you are running hp-ux 11i (or 11.00) open sam

#sam -->Performance Monitors-->System Properties

You can see the What you are looking for.

TT
Attitude (not aptitude) determines altitude.
RAC_1
Honored Contributor

Re: processor speed ???

to get modelno.

getconf MACHINE_MODEL

Processor speed

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

There is no substitute to HARDWORK
Umapathy S
Honored Contributor

Re: processor speed ???

Vishwanath,
To get details of cpu

echo "selclass qualifier cpu; info; wait; infolog" | cstm |grep PA

another way,
cpu=$(echo itick_per_tick/D | adb /stand/vmunix /dev/kmem | sed -n '2p' | awk '{print $2}' | sed 's/0000$//g')
echo $cpu"MHz"

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Geoff Wild
Honored Contributor

Re: processor speed ???

Here's a little script I use called hpmem.

Output like:

# hpmem
HP-UX pc0003 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: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 2984
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 10



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.
doug hosking
Esteemed Contributor

Re: processor speed ???

One more tool, if you're using IPF processors on HP-UX instead of PA-RISC:
/usr/contrib/bin/machinfo shows output like:

CPU info:
Number of CPUs = 1
Clock speed = 898 MHz
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000002080
processor version info = 0x000000001f000504
architecture revision: 0
processor family: 31 Intel(R) Itanium 2 Family Processors
processor model: 0 Intel(R) Itanium 2 processor
processor revision: 5 stepping B1
largest CPUID reg: 4
processor capabilities = 0x0000000000000001
implements long branch: 1
[additional output truncated for brevity]