1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
.TH SA2 8 "DECEMBER 1999" Linux "Linux User's Manual" -*- nroff -*-
.SH NAME
sa2 \- Write a daily report in the /var/log/sa directory.
.SH SYNOPSIS
.B /usr/lib/sa/sa2
.SH DESCRIPTION
The
.B sa2
command is a shell procedure variant of the
.B sar
command which writes a daily report in the
.IR /var/log/sa/sar dd
file, where the dd parameter indicates the current day. The
.B sa2
command handles all of the flags and parameters of the
.B sar
command.
The
.B sa2
command is designed to be started automatically by the cron command.
.SH EXAMPLES
To run the
.B sa2
command daily, place the following entry in your root or adm crontab file:
.B 5 19 * * 1-5 /usr/lib/sa/sa2 -A &
This will generate a daily report called
.IR /var/log/sa/sar dd
It will also remove reports more than one week old.
.SH FILES
.IR /var/log/sa/sar dd
.RS
Indicate the daily report file, where the
.B dd
parameter is a number representing the day of the month.
.SH AUTHOR
Sebastien Godard <sebastien.godard@wanadoo.fr>
.SH SEE ALSO
.BR sar (1),
.BR sadc (8),
.BR sa1 (8),
.BR mpstat (1),
.BR iostat (1),
.BR vmstat (8)
.I http://perso.wanadoo.fr/sebastien.godard/
|