Next | Prev | Up | Top | Contents | Index

Turning on Process Accounting

To turn on process accounting:

  1. Log in to the system as root.

  2. Enter this command:

    chkconfig acct on

  3. Enter this command:

    /usr/lib/acct/startup

    This starts the kernel writing information into the file /var/adm/pacct.

Process accounting is started every time you boot the system, and every time the system boots, you should see a message similar to this:

System accounting started 
Note 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".


Next | Prev | Up | Top | Contents | Index