Turns on accounting functions at system startup.
/usr/sbin/acct/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.
Item | Description |
---|---|
/usr/sbin/acct | 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 System accounting in AIX® Version 7.1 Operating system and device management.
Setting up an accounting subsystem in AIX Version 7.1 Operating system and device management explains the steps you must take to establish an accounting system.