Re: Find CPU clock speed on HP-UX 11

2003-10-21 Thread bulbultyagi
Hi In solaris use "prtconf" command In HPUX Use the following script to determine the clock speed: HPUX=/stand/vmunix # 10.x C=`echo itick_per_tick/D | adb $HPUX /dev/kmem | tail -1 \ | awk '{print $2/1}'` echo "Clock speed of `hostname` is: $C Mhz." - Original Message - To:

Re: Solved: Find CPU clock speed on HP-UX 11

2003-10-16 Thread Mladen Gogala
head -1 Jared Mladen Gogala <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 10/16/2003 07:59 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: Re: Solved: Find CPU clock speed on HP-UX 11 Her

Re: Solved: Find CPU clock speed on HP-UX 11

2003-10-16 Thread Mladen Gogala
yslog | head -1 Jared Mladen Gogala <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 10/16/2003 07:59 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: Re: Solved: Find CPU clock speed on HP-U

Re: Solved: Find CPU clock speed on HP-UX 11

2003-10-16 Thread Jared . Still
       Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>         cc:                 Subject:        Re: Solved: Find CPU clock speed on HP-UX 11 Here is a very complex program that will do the same thing: #!/usr/bin/perl -w use strict; open SYSLOG,"/var/log/syslog" ||     di

Re: Solved: Find CPU clock speed on HP-UX 11

2003-10-16 Thread Mladen Gogala
Here is a very complex program that will do the same thing: #!/usr/bin/perl -w use strict; open SYSLOG,"/var/log/syslog" || die "Cannot open syslog:$!"; while () { if (/HZ/i) { print ; exit; } } And here is the result: [EMAIL PROTECTED] tmp]# ./clock.pl Oct 9 01:27:18 localhost

Solved: Find CPU clock speed on HP-UX 11

2003-10-16 Thread Daiminger, Helmut
Hi! I got the answer from an Unix Admin... There are three ways: 1) If you can reboot the machine you can see it on startup. 2) If not, use SAM (type sam at # prompt) and go to performance monitors, system properties. 3) echo 'itick_per_usec/D' | adb /stand/vmunix /dev/mem echo 'runningpr

Find CPU clock speed on HP-UX 11

2003-10-15 Thread Daiminger, Helmut
Hi! I'm new to HP-UX and need to find out how many processors are in a mchine and at what clock speed they operate. I can get the number of CPUs through glance or top, but I have no idea about the clock speed. How would I get that information? I would know how to do it on Solaris though... ;) Th

Re: Find CPU clock speed on HP-UX 11

2003-10-15 Thread K Gopalakrishnan
Hi, It is very simple in Solaris. Just try psrinfo or psrinfo -v. You will get the CPU details. Not sure abt HP though :( KG --- "Daiminger, Helmut" <[EMAIL PROTECTED]> wrote: > Hi! > > I'm new to HP-UX and need to find out how many processors are in a > mchine > and at what clock speed they o

RE: Find CPU clock speed on HP-UX 11

2003-10-15 Thread K Gopalakrishnan
Does this work? echo "selclass qualifier cpu;info;wait;infolog"|cstm (Got it from Google and don't have a HP-UX now. So may or may not work) KG --- Pawan Dalmia <[EMAIL PROTECTED]> wrote: > Hi > I am also not aware of HP but on solaris u can find using prtdiag > command > U can find this com

RE: Find CPU clock speed on HP-UX 11

2003-10-15 Thread Pawan Dalmia
Hi I am also not aware of HP but on solaris u can find using prtdiag command U can find this command in /usr/platform/sun4u/sbin Regards Pawan Dalmia Database Administrator Orange-9820018753 Extn -5064 -Original Message- Sent: Thursday, October 16, 2003 12:24 PM To: Multiple recipients