Operating System - HP-UX
1833832 Members
2796 Online
110063 Solutions
New Discussion

Re: processor speed on hp-ux 11.23

 
SOLVED
Go to solution
claudio_22
Regular Advisor

processor speed on hp-ux 11.23

Hello,

this command don't work anymore
HPUX=/stand/vmunix

C=`echo itick_per_usec/D | adb -k $HPUX /dev/mem | tail -1| awk '{print $2}'`

echo "Clock speed of `hostname` is : $C Mhz."


I've following error

adb: info: Option -k is deprecated.
adb: warning: File '/dev/mem' is not an object file.
Clock speed of etr3db01 is : error: Mhz.


What I should change ?

5 REPLIES 5
H.Merijn Brand (procura
Honored Contributor
Solution

Re: processor speed on hp-ux 11.23

# /usr/contrib/bin/machinfo

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Muthukumar_5
Honored Contributor

Re: processor speed on hp-ux 11.23

man machinfo command.

We can accomplish this some programming using getconf / mpsched / clock () / uname
Easy to suggest when don't know about the problem!
Simon Hargrave
Honored Contributor

Re: processor speed on hp-ux 11.23

You can also use SAM to find it.

SAM...performance monitors...system properties.
claudio_22
Regular Advisor

Re: processor speed on hp-ux 11.23

Ok , thanks all

bye

Re: processor speed on hp-ux 11.23

I advice you to use /dev/kmem instead of /dev/mem.

For hp-ux 11.11, there is a patch providing a new adb command : nadb...