Unix and Linux Discussions Tagged with sar |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
13,124 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
30,661 |
Solaris |
|
|
|
2 |
2,369 |
Shell Programming and Scripting |
|
|
|
17 |
23,358 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
64,015 |
Solaris |
|
|
|
1 |
8,366 |
HP-UX |
|
|
|
15 |
17,207 |
Linux |
|
|
|
2 |
5,105 |
Solaris |
|
|
|
2 |
2,755 |
Solaris |
|
|
|
1 |
5,964 |
Solaris |
|
|
|
0 |
1,379 |
Software Releases - RSS News |
|
|
|
1 |
4,335 |
Solaris |
|
|
|
0 |
1,374 |
Software Releases - RSS News |
|
|
|
1 |
20,600 |
Red Hat |
|
|
|
1 |
6,837 |
AIX |
|
|
|
1 |
6,071 |
Solaris |
|
|
|
0 |
1,137 |
UNIX and Linux RSS News |
|
|
|
1 |
4,964 |
HP-UX |
|
|
|
1 |
1,962 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,625 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
12,410 |
Filesystems, Disks and Memory |
|
|
|
1 |
2,844 |
Shell Programming and Scripting |
|
|
|
3 |
9,749 |
Shell Programming and Scripting |
|
|
|
2 |
8,258 |
Shell Programming and Scripting |
|
|
|
5 |
5,490 |
UNIX for Dummies Questions & Answers |
SA2(8) Linux User's Manual SA2(8)
NAME
sa2 - Write a daily report in the /var/log/sa directory.
SYNOPSIS
/usr/lib64/sa/sa2
DESCRIPTION
The sa2 command is a shell procedure variant of the sar command which writes a daily report in the /var/log/sa/sardd file, where the dd
parameter indicates the current day. The sa2 command handles all of the flags and parameters of the sar command.
The sa2 command is designed to be started automatically by the cron command.
EXAMPLES
To run the sa2 command daily, place the following entry in your root or adm crontab file:
5 19 * * 1-5 /usr/lib64/sa/sa2 -A &
This will generate a daily report called /var/log/sa/sardd It will also remove reports more than one week old.
FILES
/var/log/sa/sardd
Indicate the daily report file, where the dd parameter is a number representing the day of the month.
AUTHOR
Sebastien Godard (sysstat <at> orange.fr)
SEE ALSO
sar(1), sadc(8), sa1(8), sadf(1)
http://pagesperso-orange.fr/sebastien.godard/
Linux AUGUST 2010 SA2(8)