Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sadc(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cron

sag

sar

timex



SADC, SA1, SA2(8,C)         AIX Commands Reference          SADC, SA1, SA2(8,C)



-------------------------------------------------------------------------------
sadc, sa1, sa2



PURPOSE

Provides a system activity report package.

SYNTAX


                    +-------------------+   +-----------+
/usr/lib/sa/sadc ---|                   |---|           |---|
                    +- interval -- num -+   +- outfile -+

                   +-------------------+
/usr/lib/sa/sa1 ---|                   |---|
                   +- interval -- num -+

                  1
/usr/lib/sa/sa2 ---|


-----------------
1 See the sar command for the format and flag description.
You cannot use the -o and -f flags with 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



Processed November 8, 1990    SADC, SA1, SA2(8,C)                             1





SADC, SA1, SA2(8,C)         AIX Commands Reference          SADC, SA1, SA2(8,C)



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 parameters specify that the record should be written num times at
interval seconds.  If you do not specify these parameters, 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

See the following commands:  "cron,"  "sag,"  "sar," and "timex."























Processed November 8, 1990    SADC, SA1, SA2(8,C)                             2



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