Operating System - HP-UX
1834142 Members
2323 Online
110064 Solutions
New Discussion

how can we find the CPU speed in hp box?

 
nandam
Frequent Advisor

how can we find the CPU speed in hp box?

how can we find the CPU speed in hp box?
It is very urgent pleas any one can help me.
7 REPLIES 7
Miguel Hernández
Frequent Advisor

Re: how can we find the CPU speed in hp box?

Hi

Use SAM:

Go to performace Monitors -> System properties


Greetings
Torsten.
Acclaimed Contributor

Re: how can we find the CPU speed in hp box?

And in case of Integrity:

/usr/contrib/bin/machinfo

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jaime Bolanos Rojas.
Honored Contributor

Re: how can we find the CPU speed in hp box?

Nandam,

Try this command should give you the speed of the proc

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

Regards,

jaime.
Work hard when the need comes out.
Pete Randall
Outstanding Contributor

Re: how can we find the CPU speed in hp box?

If you have Ignite installed, you can use the print_manifest command.

You can also use SAM to display system properties (Sam -> Performance
Monitors -> System Properties).

There are also utilities like "cfg2html" ( http://come.to/cfg2html ),
"nickel" ( ftp://ftp.hp.com/pub/catia/Utils/nickel.shar ) and "sysinfo"
( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/ ).

Finally, you can also obtain this information from the command line with a
series of little scripts like these:

CPU

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Number of CPUs

ioscan -k |grep -n processor |wc -l




RAM

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM



And, even more finally, you can obtain CPU speed and RAM without CSTM or root ac
cess as described by Tom Ferony (under Nancy Rippey's login) here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: how can we find the CPU speed in hp box?

Shalom,

cstm can help.

Booting the box at console displays the CPU speed.

Also the exact model number and the output of the model command can product results via looking up things in documentation.

model command

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
SGUX
Valued Contributor

Re: how can we find the CPU speed in hp box?

you can also install cgf2html, this can generate a html-page with a lot of systeminfo

see: http://www.cfg2html.com/
Raj D.
Honored Contributor

Re: how can we find the CPU speed in hp box?

Hi Nandam ,

nickel and cfg2html are good script and you will get everything in html format:


Here it is :
1. Nickel Script:

http://unixguide.net/scripts/nickel108

2. cfg2html

http://come.to/cfg2html


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "