sadc - System activity data collector.
SYNOPSIS
/usr/lib/sa/sadc [ -I ] [ -V ] [ -x pid ] [ -X pid ] [
interval [ count ] ] [ outfile ]
DESCRIPTION
The sadc command samples system data a specified number of
times ( count ) at a specified interval measured in sec
onds ( interval ). It writes in binary format to the spec
ified outfile or to the standard output. If outfile is set
to -, then sadc uses the standard system activity daily
data file, the /var/log/sa/sadd file, where the dd parame
ter indicates the current day. When the count parameter
is not specified, sadc writes its data endlessly. When
both interval and count 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. For example,
one of the system startup script may write the restart
mark to the daily data file by the command entry:
/usr/lib/sa/sadc -
The sadc command is intended to be used as a backend to
the sar command.
Note: The sadc command reports only local activity.
OPTIONS
-I Tell sadc to report statistics for all system
interrupts. By default, sadc only reports statis
tics for the total number of interrupts.
-V Print version number and usage then exit.
-x pid Tell sadc to report statistics for the process
whose PID is pid.
-X pid Tell sadc to report statistics for the child pro
cesses of the process whose PID is pid. The SELF
keyword indicates that statistics are to be
reported for the child processes of the sadc pro
cess itself.
EXAMPLES
/usr/lib/sa/sadc 1 10 /tmp/datafile
Write 10 records of one second intervals to the
/tmp/datafile binary file.
BUGS
/proc filesystem must be mounted for the sadc command to
All the statistics are not necessarily available, depend
ing on the kernel version used.
FILES
/var/log/sa/sadd
Indicate the daily data file, where the dd parame
ter is a number representing the day of the month.
/proc contains various files with system statistics.
AUTHOR
Sebastien Godard <sebastien.godard@wanadoo.fr>
SEE ALSO
sar(1), sa1(8), sa2(8), mpstat(1), iostat(1), vmstat(8)
http://perso.wanadoo.fr/sebastien.godard/
Man(1) output converted with
man2html