[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

remove Command

Purpose

Deletes files from var/adm/acct/sum and var/adm/acct/nite subdirectories.

Syntax

/usr/sbin/acct/remove

Description

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.

Security

Access Control: This command should grant execute (x) access only to members of the adm group.

Files

/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.

Related Information

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.


[ Previous | Next | Contents | Glossary | Home | Search ]