Deletes files from var/adm/acct/sum and var/adm/acct/nite subdirectories.
/usr/sbin/acct/remove
The remove command deletes all /var/adm/acct/sum/wtmp*, /var/adm/acct/sum/pacct*, and /var/adm/acct/nite/lock* files. The remove command must be scheduled with the cron daemon. Also, the remove command should be run at the end of every accounting period, rather than every night.
Access Control: This command should grant execute (x) access only to members of the adm group.
/usr/sbin/acct | The path to the accounting commands. |
/var/adm/acct/nite | Contains accounting data files. |
/var/adm/acct/sum | Cumulative directory for daily accounting records. |
For more information about the Accounting System, the preparation of daily and monthly reports, and the accounting files, see the Accounting Overview in AIX Version 4.3 System Management Guide: Operating System and Devices.
Setting Up an Accounting System in AIX Version 4.3 System Management Guide: Operating System and Devices explains the steps you must take to establish an accounting system.