Linux server administration/acct

Acct package allows to activate process accounting in Linux. Installing  package in Ubuntu activates accounting by default.


 * Configuration:
 * Logs file:

Activities

 * 1) Install in Ubuntu   accounting package and deactivate it changing   to   in   and stopping it
 * 2) Activate accounting by executing   and deactivate it by executing   and check status

grep -w acct /var/log/syslog Jul 29 14:22:00 machine-name acct[23114]: Turning on process accounting, file set to '/var/log/account/pacct'. Jul 29 14:22:00 machine-name acct[23114]: * Done. Jul 29 15:02:15 machine-name acct[12629]: Turning off process accounting. Jul 29 15:02:15 machine-name acct[12629]: * Done.