1SA2(8) Linux User's Manual SA2(8)
2
3
4
6 sa2 - Create a report from the current standard system activity daily
7 data file.
8
10 /usr/lib64/sa/sa2
11
13 The sa2 command is a shell procedure variant of the sar command which
14 writes a daily report in the sarDD or the sarYYYYMMDD file, where YYYY
15 stands for the current year, MM for the current month and DD for the
16 current day. By default the report is saved in the /var/log/sa direcā
17 tory. The sa2 command will also remove reports more than one week old
18 by default. You can however keep reports for a longer (or a shorter)
19 period by setting the HISTORY environment variable. Read the sysstat(5)
20 manual page for details.
21
22 The sa2 command accepts most of the flags and parameters of the sar
23 command.
24
25 The sa2 command is designed to be started automatically by the cron
26 command.
27
28
30 To run the sa2 command daily, place the following entry in your root
31 crontab file:
32
33 5 19 * * 1-5 /usr/lib64/sa/sa2 -A &
34
35 This will generate by default a daily report called sarDD in the
36 /var/log/sa directory, where the DD parameter is a number representing
37 the day of the month.
38
40 /var/log/sa/sarDD
41 /var/log/sa/sarYYYYMMDD
42 The standard system activity daily report files and their
43 default location. YYYY stands for the current year, MM for the
44 current month and DD for the current day.
45
47 Sebastien Godard (sysstat <at> orange.fr)
48
50 sar(1), sadc(8), sa1(8), sadf(1), sysstat(5)
51
52 http://pagesperso-orange.fr/sebastien.godard/
53
54
55
56Linux JUNE 2014 SA2(8)