Table 1. Process Accounting Commands

Command Name Purpose
accton Enables or disables process accounting
acctentries Counts the number of accounting entries in the log file
accttrim Truncates the accounting file specified
dumpacct Dumps the contents of the log file
dump-acct Similar to dumpacct
handleacct.sh Script to compress and backup logs and delete the oldest
lastcomm Prints commands executed on the system, most recent first
sa Summarize accounting information