Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sag(1M) — UNIX System III

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

graph(1G)

tplot(1G)

sar(8)

SAG(1M)  —  UNIX 3.0

NAME

sag − system activity graph

SYNOPSIS

sag [ −s time ] [ −e time ] [ −T term ] [ −uirwcohdpaf ] [ file ]

DESCRIPTION

Sag displays, in a graphical form, the system activity of the UNIX operating system during a specified time interval.  File is the file that contains the daily system activity information, default is /usr/adm/sa/sadd, where dd is today’s day of the month.  Sag has the following options:

−s time Begin graph at time specified as hh:mm. Default is 08:00. 

−e time End graph at time specified as hh:mm. Default is 18:00. 

−T term Translate output to a form suitable for terminal term. If this option is not used, the environment variable $TERM (see environ(7)) is used. Refer to tplot(1G) for available types of terminals.

−u Plot CPU utilization, showing proportion of user, system and idle time (default option). 

−i Plot percent of time the CPU was idle and waiting on block I/O, waiting on swap in or swap out, or waiting on physical I/O. 

−r Plot logical reads/minute and block reads/minute. 

−w Plot logical writes/minute and block writes/minute. 

−c Plot buffer cache hit ratios for reads and for writes. 

−o Plot block transfer rate between system buffers and devices, showing reads/minute, writes/minute, and the sum of reads and writes/minute. 

−h Plot bytes read/second by system call read(2) and bytes written/second by system call write(2).

−d Plot the sum of reads and writes/minute for each of the first three RP06 type disk drives. 

−p Plot process switches/second, process preemptions/second and system calls/second. 

−a Plot process swapins/minute and process swapouts/minute. 

−f Plot file access activities: iget/second, namei/second, and directory blocks read/second. 

FILES

/usr/adm/sa/sadd daily data file, where dd are digits representing the day of the month. 

SEE ALSO

graph(1G), tplot(1G), sar(8). 

NOTES

Plotted data points are extracted from the system activity file, /usr/adm/sa/sadd, which is written under the control of cron(1M), normally every 20 minutes between 8:00 and 18:00 on weekdays, and hourly at other times.

In the event of a system outage, the system activity counters are reset to zero when the system is rebooted.  This discontinuity is shown by a gap in the plotted data. 

DIAGNOSTICS

“terminal type not known” if $TERM is not set and the −T option is not specified. 

May 16, 1980

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026