Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Solved: Find CPU clock speed on HP-UX 11

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

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Thu, 16 Oct 2003 12:29:25 -0800
Message-ID: <F001.005D3675.20031016122925@fatcity.com>


You are right. What I had in mind was to parse the information in a nice way, but I didn't have the time.

On 10/16/2003 02:29:31 PM, Jared.Still_at_radisys.com wrote:
> I'm as much a Perl bigot as anyone Mladen, but really,
> what's the point of rewriting grep?
>
> grep -i HZ /var/log/syslog | head -1
>
> Jared
>
>
>
>
>
> Mladen Gogala <mladen_at_wangtrading.com>
> Sent by: ml-errors_at_fatcity.com
> 10/16/2003 07:59 AM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L
> <ORACLE-L_at_fatcity.com>
> 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" ||
> die "Cannot open syslog:$!";
> while (<SYSLOG>) {
> if (/HZ/i) {
> print ;
> exit;
> }
> }
> And here is the result:
>
> [root_at_tux925 tmp]# ./clock.pl
> Oct 9 01:27:18 localhost kernel: Detected 2187.741 MHz processor.
> [root_at_tux925 tmp]#
>
> I believe that tells you all that you wanted to know.
>
> On 10/16/2003 10:19:37 AM, "Daiminger, Helmut" wrote:
> > 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 'runningprocs/D' | adb /stand/vmunix /dev/mem
> >
> > hth,
> > Helmut
> >
> >
> >
> > -----Original Message-----
> > Sent: Thursday, October 16, 2003 9:04 AM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > 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 of list ORACLE-L
> >
> > 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... ;)
> >
> > Thanks,
> > Helmut
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: Daiminger, Helmut
> > INET: HELMUT.DAIMINGER_at_wwk.de
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting
> services
> >
> ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the
> > message BODY, include a line containing: UNSUB ORACLE-L (or the
> name
> > of
> > mailing list you want to be removed from). You may also send the
> > HELP
> > command for other information (like subscribing).
> >
> > "The information in this message is confidential and may be legally
> > privileged. It is intended solely for the addressee. Access to
> this
> > message
> > by anyone else is unauthorized. If you are not the intended
> > recipient, any
> > disclosure, copying, or distribution of the message, or any action
> or
> > omission taken by you in reliance on it, is prohibited and may be
> > unlawful.
> > Please immediately contact the sender if you have received this
> > message in
> > error. Thank you."
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: Pawan Dalmia
> > INET: Pawan.Dalmia_at_orange.co.in
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting
> services
> >
> ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the
> > message BODY, include a line containing: UNSUB ORACLE-L (or the
> name
> > of
> > mailing list you want to be removed from). You may also send the
> > HELP
> > command for other information (like subscribing).
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.net
> > --
> > Author: Daiminger, Helmut
> > INET: HELMUT.DAIMINGER_at_wwk.de
> >
> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> > San Diego, California -- Mailing list and web hosting
> services
> >
> ---------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like
> subscribing).
> >
>
> Mladen Gogala
> Oracle DBA
>
>
>
> Note:
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any
> mistransmission.
> If
> you receive this message in error, please immediately delete it and
> all
> copies of it from your system, destroy any hard copies of it and
> notify
> the sender. You must not, directly or indirectly, use, disclose,
> distribute, print, or copy any part of this message if you are not
> the
>
> intended recipient. Wang Trading LLC and any of its subsidiaries each
> reserve the right to monitor all e-mail communications through its
> networks.
> Any views expressed in this message are those of the individual
> sender,
> except where the message states otherwise and the sender is
> authorized
> to
> state them to be the views of any such entity.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Mladen Gogala
> INET: mladen_at_wangtrading.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>

>

Mladen Gogala
Oracle DBA

Note:
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mladen_at_wangtrading.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Oct 16 2003 - 15:29:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US