Provides a system data collector report.
/usr/lib/sa/sadc [ Interval Number ] [ Outfile ]
/usr/lib/sa/sa1 [ Interval Number ]
/usr/lib/sa/sa2
The sadc command, the data collector, samples system data a specified number of times (Number) at a specified interval measured in seconds (Interval). It writes in binary format to the specified outfile or to the standard output. When both Interval and Number are not specified, a dummy record, which is used at system startup to mark the time when the counter restarts from 0, will be written. The sadc command is intended to be used as a backend to the sar command.
The operating system contains a number of counters that are incremented as various system actions occur. The various system actions include:
Access Control: These commands should grant execute (x) access only to members of the adm group.
To write 10 records of one second intervals to the /tmp/rpt binary file, enter:
sadc 1 10 /tmp/rpt
Item | Description |
---|---|
/var/adm/sa/sadd | Contains the daily data file, dd represents the day of the month. |
/var/adm/sa/sardd | Contains the daily report file, dd represents the day of the month. |
/tmp/rpt | Contains the binary file used for input by the sar command. |
/tmp/sa.adrf1 | Contains the address file. |