![]() |
![]() |
| |
Chapter 19Managing System Accounting (Tasks)This section describes how to set up and maintain system accounting. This is a list of the step-by-step instructions in this chapter. This is a list of the overview information in this chapter. For information on using extended accounting, see "Extended Accounting" in System Administration Guide: Resource Management and Network Services. For reference information on the various system accounting reports, see Chapter 20, System Accounting (Reference). What is System Accounting?The SunOS 5.9 system accounting software is a set of programs that enables you to collect and record data about user connect time, CPU time charged to processes, and disk usage. Once you collect this data, you can generate reports and charge fees for system usage. You can use the accounting programs to:
After you set up the system accounting programs, they run mostly on their own. How System Accounting WorksAutomatic accounting is set up by first putting the accounting startup script into root's crontab file. The accounting startup script can then be started automatically by the cron command. The following overview illustrates the system accounting process.
System Accounting ComponentsThe accounting software provides C language programs and shell scripts that organize data into summary files and reports. These programs reside in the /usr/lib/acct directories. The accounting reports reside in the /var/adm/acct directory. Daily accounting can help you perform four types of auditing:
Connect AccountingConnect accounting enables you to determine:
To provide this information, the system stores:
| |
| |