The /var/adm
directory contains the active data collection
files. The following table describes the accounting files in this directory.
Table 17.7. Files in the /var/adm
Directory
File |
Description |
---|---|
|
Output from the acctdusg program |
|
Output from the chargefee program, which are the ASCII tacct records |
|
Active process accounting file |
|
Process accounting files that are switched by running the turnacct script |
|
Process accounting files for |
The /var/adm/acct
directory contains the nite
, sum
, and fiscal
directories.
These directories contain the actual data collection files. For example, the nite
directory contains files that are reused daily by the runacct script. A brief summary of the files in the /var/adm/acct/nite
directory follows.
Table 17.8. Files in the /var/adm/acct/nite
Directory
File |
Description |
---|---|
|
Used by the runacct script to record progress and print warning and error messages |
|
Same as the |
|
ASCII total command summary used by the prdaily script |
|
Connect accounting records in |
|
Output of acctcon1 program, which consists of connect session
records in |
|
ASCII daily command summary used by the prdaily script |
Total accounting records for one day in | |
|
Disk accounting records in |
|
Diagnostic output during execution of the runacct script |
|
Last day the runacct script executed (in date +%m%d format) |
|
|
|
Used to control serial use of the runacct script |
|
Diagnostic output from the acctcon program |
|
Same as the |
|
Previous day's wtmpx file |
|
Beginning and ending dates from the |
|
Used to record current state during execution of the runacct script |
|
|
|
Contains wtmpfix error messages |
|
Same as the |
The runacct script's copy of the |
The sum
directory contains the cumulative summary
files updated by the runacct script and used by the monacct script. The following table summarizes the files in the /var/adm/acct/sum
directory.
Table 17.9. Files in the /var/adm/acct/sum
Directory
File |
Description |
---|---|
|
Total command summary file for current fiscal period in binary format |
|
Command summary file without latest update |
|
Command summary file for the day's usage in internal summary format |
|
Record of last date each user logged in; created by the lastlogin script and used in the prdaily script |
|
Saved output of prdaily script |
|
Cumulative total accounting file for current fiscal period |
|
Same as the |
|
Total accounting file for |
The fiscal directory contains periodic summary files that are created
by the monacct script. The following table summarizes the files
in the /var/adm/acct/fiscal
directory.
Table 17.10. Files in the /var/adm/acct/fiscal
Directory
File |
Description |
---|---|
|
Total command summary file for fiscal period |
|
Report similar to |
|
Total accounting file for fiscal period |
The following table summarizes the most useful files produced by the runacct script. These files are found in the /var/adm/acct
directory.
Table 17.11. Files Created by the runacct Script
File |
Description |
---|---|
The total accounting file for the day in | |
The runacct script calls the acctcon program
to gather data on terminal line usage from the | |
|
This file is the accumulation of each day's command summaries. The accumulation
restarts when the |
|
The runacct script calls the acctcms program
to process the commands used during the day to create the Daily Command Summary report
and stores the data in the |
|
The runacct script calls the lastlogin script
to update the last date logged in for the logins in the |
|
Each execution of the runacct script saves a copy of the daily report that was printed by the prdaily script. |
|
Contains the accumulation of each day's |