Writes a daily report in the /var/adm/sa/sardd file.
/usr/lib/sa/sa2
The sa2 command is a variant shell procedure of the sar command, which writes a daily report in the /var/adm/sa/sardd file, where dd is the day of the month. The sa2 command handles all of the flags and parameters of the sar command.
The sa2 command is designed to be run automatically by the cron command and run concurrently with the sa1 command.
To run the sa2 command daily, place the following entry in the root crontab file:
5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 3600 -ubcwyaqvm &
This will generate a daily report called /var/adm/sa/sardd. It will also remove a report more than one week old.
The sa1 command, sadc command, sar command.
The cron daemon.
Accounting Overview, Setting Up an Accounting System in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.
Accounting Commands in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices lists accounting commands that can be run automatically or entered from the keyboard.