Wednesday, July 14, 2010
acct: Unix System Accounting Disabled
On various hardware platforms I have seen system accounting consume a large amount of system resources if considering to completely remove system accounting this is my preferred and easy method.
How to Permanently Disable System Accounting:
- Become superuser.
- Edit the adm crontab file and delete the entries for the ckpacct, runacct, and monacct programs.
- EDITOR=/usr/bin/vi; export EDITOR
- crontab -e adm
- Edit the root crontab file and delete the entries for the dodisk program.
- crontab -e
- Remove the startup script for Run Level 2.
- unlink /etc/rc2.d/S22acct
- Remove the stop script for Run Level 0.
- unlink /etc/rc0.d/K22acct
- Stop the accounting program.
- /etc/init.d/acct stop
Labels:
Accounting,
Audit,
Performance
No comments:
Post a Comment