IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > sag man page

sag man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                              sag(1)



NAME
     sag - system activity graph

SYNOPSIS
     sag [-e time]  [-f file]  [-i sec]  [-s time]  [-T term]  [-
     x spec] [-y spec]

DESCRIPTION
     The sag utility graphically  displays  the  system  activity
     data  stored in a binary data file by a previous sar(1) run.
     Any of the sar data items may be plotted singly or in combi-
     nation,  as  cross  plots  or versus time. Simple arithmetic
     combinations of data may be specified. sag invokes  sar  and
     finds  the  desired  data by string-matching the data column
     header (run sar to see what is available).  The sag  utility
     requires  a  graphic  terminal  to  draw the graph, and uses
     tplot(1) to produce its output. When running Solaris 2.x and
     OpenWindows, perform the following steps:

     1.  Run an xterm as a Tektronics terminal: prompt# xterm -t


     2.  In the xterm window, run sag specifying a tek  terminal:
         prompt# sag -T tek options


OPTIONS
     The following options are supported and  passed  through  to
     sar (see sar(1)):

     -e time  Select data up to time. Default is 18:00.



     -f file  Use file as the data source for sar. Default is the
              current daily data file /usr/adm/sa/sadd.



     -i sec   Select data at intervals as close  as  possible  to
              sec seconds.



     -s time  Select data later than time in  the  form  hh[:mm].
              Default is 08:00.



     -T term  Produce output  suitable  for  terminal  term.  See
              tplot(1)  for known terminals.  Default for term is
              $TERM.



SunOS 5.10           Last change: 4 Mar 1998                    1






User Commands                                              sag(1)



     -x spec  x axis specification with spec in the form:


              name[op name]...[lo hi]


              name is either a string that will  match  a  column
              header  in  the sar report, with an optional device
              name in square brackets, for example, r+w/s[dsk-1],
              or an integer value. op is + - * or / surrounded by
              blank spaces. Up to five names  may  be  specified.
              Parentheses are not recognized. Contrary to custom,
              + and - have precedence over * and /. Evaluation is
              left  to  right.  Thus,  A/A+B*100  is evaluated as
              (A/(A+B))*100, and A+B/C+D is (A+B)/(C+D).  lo  and
              hi  are  optional numeric scale limits. If unspeci-
              fied, they are deduced from the data.

              Enclose spec in double-quotes ("") if  it  includes
              white space.

              A single spec is  permitted  for  the  x  axis.  If
              unspecified, time is used.



     -y spec  y axis specification with spec in the same form  as
              for  -x.  Up  to  5  spec  arguments separated by a
              semi-colon (;) may be given for -y. The -y  default
              is:



              -y"%usr0100;%usr+%sys0100;%usr+%sys+%wio0100"



EXAMPLES
     Example 1: Examples of the sag command.

     To see today's CPU utilization:

     example$ sag

     To see activity over 15 minutes of all disk drives:

     example$ TS=`date +%H:%M`
     example$ sar -o /tmp/tempfile 60 15
     example$ TE=`date +%H:%M`
     example$ sag -f /tmp/tempfile -s $TS -e $TE -y "r+w/s[dsk]"





SunOS 5.10           Last change: 4 Mar 1998                    2






User Commands                                              sag(1)



FILES
     /usr/adm/sa/sadd        daily data file for day dd



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWaccu                    |
    |_____________________________|_____________________________|


SEE ALSO
     sar(1), tplot(1), attributes(5)

     System Administration Guide: Advanced Administration



































SunOS 5.10           Last change: 4 Mar 1998                    3





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:25:22 GMT 2007

Your favourite pages:

No pages logged yet...

Top 10 most popular pages:

prstat man page (24541 hits)
(Solaris 10 11_06)

netcat man page (17692 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (13521 hits)
(Solaris 10 11_06)

signal man page (12550 hits)
(Suse Linux 10.1)

startproc man page (11987 hits)
(Suse Linux 10.1)

raidctl man page (11353 hits)
(Solaris 10 11_06)

adv_cap_autoneg man page (10283 hits)
(Solaris 10 11_06)

sqlite3 man page (9728 hits)
(openSUSE 10.2)

CPAN man page (8947 hits)
(Suse Linux 10.1)

BusyBox man page (7698 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: Touch Sensor Chip :: Matchless Piston Rings
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum