sag
PURPOSE
Displays a graph of system activity.
SYNOPSIS
sag [ options ]
DESCRIPTION
The sag command displays a graph of system activity. It
gets information either from the daily activity file
usr/adm/sa/sadd or from the binary data file selected by
the -f flag. You must have already created this file by
running the sar command with the -o flag. (See "sar.")
The sag command calls the sar command, selecting the
desired data by string-matching the data column header.
FLAGS
The sag command passes the first four of the following
flags to sar in order to collect the desired data for
display. The last three flags specify plotting parame-
ters.
-e hh[:mm] Selects data up to the time specified by
hh[:mm]). The default time is 18:00.
-f file Reads data from file. The default file
is /usr/adm/sa/sadd, the current daily
data file.
-i seconds Selects data at intervals as close as
possible to seconds.
-s hh[:mm] Selects data later than the specified
time. Default is 08:00.
-T workstation Produces output suitable for
workstation. (See "tplot" for known
work stations.) If you do not specify a
work station, sag uses the value found
in the shell variable $TERM.
-x spec Specifies the x axis. spec has the fol-
lowing form:
name [opname] . . . [lo hi]
where name is a character string
matching a column header in the
sar-created data file (with an optional
device name in brackets), or it is an
integer value. op is +, "-", "*", or /
surrounded by blanks, with up to five
names specified. Parentheses are not
recognized and evaluation is left to
right. Note that + and "-" have preced-
ence over "*" and / in evaluating
expressions. lo and hi specify numeric
scale limits. If these limits are
unspecified, sag gets these limits from
the data.
-y spec Specifies the y axis. spec has the same
form as x spec.
Specify only one spec for the x axis. If unspecified,
the x axis assumes the time specified with the -e and -s
flags (or their defaults if they are not used) as x axis
limits. You can specify up to five specs separated by :
(semicolons) for -y. If unspecified, the y axis has the
value:
-y "%usr 0 100; %usr + %sys 0 100; %usr + %sys + %wio 0 100"
If you include blanks or an escaped carriage return
(\Enter) within the -x and -y specs, enclose them in " "
(double quotation marks).
FILES
/usr/adm/sa/sadd Daily data file for day dd.
RELATED INFORMATION
The following commands: "sar" and "tplot."