Turns on accounting functions at system startup.
The startup command turns on the accounting functions when the system is started, if called by the /etc/rc command file. See the startup example for the command to add to the /etc/rc file.
Access Control: This command should grant execute (x) access only to members of the adm group.
To turn on the accounting functions when the system is started, add the following to the /etc/rc file:
/usr/bin/su - adm -c /usr/sbin/acct/startup
The startup shell procedure will then record the time and clean up the previous day's records.
|The path to the accounting commands.
The shutacct command, turnacct command.
For more information about the Accounting System, the preparation of daily and monthly reports, and the accounting files, see the Accounting Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.
Setting Up an Accounting System in AIX 5L Version 5.1 System Management Guide: Operating System and Devices explains the steps you must take to establish an accounting system.