sadc
PURPOSE
Provides a system activity report package.
SYNOPSIS
/usr/lib/sa/sadc [ interval num ] [ outfile ]
/usr/lib/sa/sa1 [ interval num ]
/usr/lib/sa/sa2
DESCRIPTION
The operating system contains a number of counters that
are incremented as various system actions occur. They
include the following:
o System unit utilization counters
o Buffer usage counters
o Disk and tape I/O activity counters
o TTY device activity counters
o Switching and system-call counters
o File-access counters
o Queue activity counters
o Inter-process communications counters
The sadc command and the sa1 and sa2 shell procedures
sample, save and process this data.
Note: These commands only report on local activities.
sadc
The sadc command, the data collector, samples system data
num times every interval seconds. It writes in binary
format to outfile or to the standard output. If you do
not specify interval or num, a special record is written.
This facility is used at system startup to mark the time
when the counter restarts from zero.
sa1
Use the shell procedure sa1, a variant of sadc to collect
and store binary data in the file /usr/adm/sa/sadd, where
dd is the day of the month. The interval and num parame-
ters specify that the record should be written num times
at interval seconds. If you do not specify these parame-
ters, one record is written. You must have permission to
write in the directory /usr/adm/sa to use this command.
The sa1 command is designed to be started automatically
by the cron command.
sa2
Use the shell procedure sa2, a variant of the sar
command, to write a daily report in the file
/usr/adm/sa/sardd. See "sar" for a description of the
flags.
The sa2 command is designed to be started automatically
by the cron command.
FILES
/usr/adm/sa/sadd Daily data file, dd represents the
day of the month.
/usr/adm/sa/sardd Daily report file, dd represents
the day of the month.
/tmp/sa.adrfl Address file.
RELATED INFORMATION
The following commands: "cron," "sag," "sar," and
"timex."