[I know this isn't an Oracle question,  but I like this list better
than the others and someone might just know]

We just upgraded to Solaris 9 on our sandbox machine (Ultra 2) for the
same reason that the bear went over the mountain.

On all our machines, we measure a variety of parameters and graph them
with MRTG. For several of these we use sar run from a perl script.
Usually the command does 1 second samples for 10 seconds and strips
out the "Average" line for the results.

Solaris 9 doesn't seem to report that Average line like earlier
versions:

# sar 1 3

SunOS s4 5.9 Generic_112233-04 sun4u    02/28/2003

08:00:27    %usr    %sys    %wio   %idle
08:00:28      64      31       5       0
08:00:29      70      19      11       0
08:00:30      63      10      25       2
#

Solaris 7:

$ sar 1 3

SunOS s2 5.7 Generic_106541-20 sun4u    02/28/03

08:00:38    %usr    %sys    %wio   %idle
08:00:39      18       5       0      77
08:00:40      12       3       0      85
08:00:41       4       3       0      93

Average       12       4       0      85
$

Does anyone know how to coax that Average line out of sar on Solaris
9?  Or will I need to revise my perl scripts to compute that line for
me?

Thanks,

-rje

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Robert Eskridge
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to