Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Advanced Administration
Previous Next

System Accounting (Task Map)

Task

Description

For Instructions

Set up system accounting.

Set up system accounting by performing the following tasks:

  • Create the /etc/rc0.d/K22acct and /etc/rc2.d/S22acct files.

  • Modify the /var/spool/cron/crontabs/adm and /var/spool/cron/crontabs/root crontab files.

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

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire