Set up system accounting.
|
Set up system accounting by performing the following tasks:
|
How to Set Up System Accounting
|
Bill users.
|
Run the /usr/lib/acct/chargefee username amount command.
|
How to Bill Users
|
Fix a corrupted wtmpx file.
|
Convert the wtmpx file from binary to ASCII format.
|
How to Fix a Corrupted wtmpx File
|
Fix tacct errors.
|
Run the prtacct script to check the /var/adm/acct/sum/tacctprev file. Then, patch the latest/var/adm/acct/sum/tacctMMDD file. You will need to re-create the /var/adm/acct/sum/tacct file.
|
How to Fix tacct Errors
|
Restart the runacct script.
|
Remove the lastdate file and any lock files. Then,
manually restart the runacct script.
|
How to Restart the runacct Script
|
Disable system accounting temporarily.
|
Edit theadm crontab file to
stop the ckpacct, runacct, and monacct programs from running.
|
How to Temporarily Stop System Accounting
|
Disable system accounting permanently.
|
Delete the entries for the ckpacct, runacct,
and monacct programs in the adm and crontab files.
|
How to Permanently Disable System Accounting
|