Integrity Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i check the Itanium CPU's freq in OS not in MP!

 
SOLVED
Go to solution
timber
Occasional Advisor

How can i check the Itanium CPU's freq in OS not in MP!

In 11iv2 i can not get the CPU info from the CSTM and is there any other way to get the info about the Itanium CPU's info? Additionally i can not get the real volume from SAM
May Force be with you !
3 REPLIES 3
George Genov
Frequent Advisor

Re: How can i check the Itanium CPU's freq in OS not in MP!

Hi,

There is a command: machinfo

BR

George
Aashique
Honored Contributor

Re: How can i check the Itanium CPU's freq in OS not in MP!

Hi,
1.To count CPUs (Processors), you can either use *adb*, *ioscan*,
*cstm* (if you have OnLineDiags installed), or *top*.

*adb*:
echo "processor_count/D" | adb /stand/vmunix /dev/kmem

*ioscan*:
echo "ioscan -FkC processor | wc -l"

*cstm*:
echo "map\nquit\nok\n" | *cstm* | grep *CPU* | wc -l

*top*:
rm /tmp/top.out 2>/dev/null
top -f /tmp/top.out
cat /tmp/top.out| awk 'BEGIN {startcounting=0} {
if (startcounting == 1) cpu++;
if (($1 == "*CPU*") && ($2 == "LOAD")) {startcountin
g=1}
if ($1 == "---") {startcounting=0}
} END {cpu--; print *cpu*}

2. To report speed of *CPU*:

10.20, 11.00, and 11.11:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

11.23*:
echo itick_per_usec/2d |adb /stand/vmunix /dev/kmem

*NOTE: the differences are threefold, a) 2d is needed instead of D, b)
no -kis needed, and c)
/dev/kmem is needed instead of /dev/mem.

Thanks


Aashique
YAQUB_1
Respected Contributor
Solution

Re: How can i check the Itanium CPU's freq in OS not in MP!

Hi Timber,

U have use sysinfo script to get these details, script is here:-
http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/

HP SAM:-
â sam --> performance monitor --> system propertiesâ

HP Ignite:-
â print_manifest commandâ

On 11.23 platforms:-
â machinfo commandâ

Thanksâ Yaqub
HP Support!!!