The following table summarizes most useful files produced by the runacct script found in the /var/adm/acct directory.
Table 20–11 Files Produced by runacct
File |
Description |
---|---|
nite/lineuse |
The runacct script calls the acctcon program to gather data on terminal line usage from the /var/adm/acct/nite/tmpwtmp file and writes the data to the /var/adm/acct/nite/lineuse file. The prdaily script uses this data to report line usage. This report is especially useful for detecting bad lines. If the ratio between the number of logouts to logins is greater than about three to one, the line is very likely failing. |
nite/daytacct |
The total accounting file for the day in tacct.h format. |
sum/tacct |
Contains the accumulation of each day's nite/daytacct data and is used for billing purposes. The monacct script restarts accumulating this data each month or fiscal period. |
sum/daycms |
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 /var/adm/acct/sum/daycms file. The ASCII version is the /var/adm/acct/nite/daycms file. |
sum/cms |
This file is the accumulation of each day's command summaries. It is restarted by the execution of the monacct script. The ASCII version is the nite/cms file. |
sum/loginlog |
The runacct script calls lastlogin script to update the last date logged in for the logins in the /var/adm/acct/sum/loginlog file. The lastlogin command also removes from this file any logins that are no longer valid. |
sum/rprt.MMDD |
Each execution of the runacct script saves a copy of the daily report that was printed by the prdaily script. |