1SA2(8) Linux User's Manual SA2(8)
2
3
4
6 sa2 - Write a daily report in the /var/log/sa directory.
7
9 /usr/lib64/sa/sa2
10
12 The sa2 command is a shell procedure variant of the sar command which
13 writes a daily report in the /var/log/sa/sardd file, where the dd
14 parameter indicates the current day. The sa2 command handles all of the
15 flags and parameters of the sar command.
16
17 The sa2 command is designed to be started automatically by the cron
18 command.
19
20
22 To run the sa2 command daily, place the following entry in your root or
23 adm crontab file:
24
25 5 19 * * 1-5 /usr/lib64/sa/sa2 -A &
26
27 This will generate a daily report called /var/log/sa/sardd It will also
28 remove reports more than one week old.
29
31 /var/log/sa/sardd
32 Indicate the daily report file, where the dd parameter is a num‐
33 ber representing the day of the month.
34
36 Sebastien Godard (sysstat <at> orange.fr)
37
39 sar(1), sadc(8), sa1(8), sadf(1), isag(1)
40
41 http://pagesperso-orange.fr/sebastien.godard/
42
43
44
45Linux JULY 2007 SA2(8)