chkconfig acct on
/usr/lib/acct/startup
This starts the kernel writing information into the file /var/adm/pacct.
System accounting startedNote that process accounting files, especially /var/adm/pacct, can grow very large. If you turn on process accounting, especially on a server, you should watch the amount of free disk space carefully. See "Controlling Accounting File Size".