Installation guide

/var/adm/acct/nite/lock file exists, the runacct shell
script will not run.
The runacct shell script executes in the following 13 states, in the order
listed, and can be restarted at any of the 13 states:
State Description
SETUP Sets up some of the accounting files.
WTMPFIX Fixes corrupted date and time stamp entries that can cause
commands such as the acctcon1 command to fail.
CONNECT1 Writes connect session records.
CONNECT2 Uses the connect session records to create a binary total
accounting record that will be merged with other records to
create a daily report.
PROCESS Produces process accounting report files.
MERGE Uses the acctmerg command to create the binary total
accounting file.
FEES Uses the acctmerg command to merge records from the
/var/adm/fee file into the binary total accounting file.
DISK Uses the acctmerg command to merge disk-usage records
into the binary total accounting file.
QUEUEACCT Uses the acctmerg command to merge print queue
accounting records into the binary total accounting file.
MERGEACCT Copies the binary total accounting file to the daily total
accounting file, which is used as input to the acctmerg
command to create the cumulative total daily accounting file.
CMS Produces command usage summaries.
USEREXIT Invokes any site-specific shell scripts.
CLEANUP Removes the temporary files.
12.9.1.1 Correcting runacct Shell Script Errors
If a runacct shell script error occurs, a message is written to the console
device, the lock file is removed, the diagnostic files and error messages are
saved, and processing is halted. Use the following information to determine
if a runacct shell script error has occurred:
The /var/adm/acct/nite/active file is created if the script has
successfully completed. The runacct shell script logs messages to this
file. You can use this file to determine which tasks have been
successfully completed. The following is an example of an active file:
12–36 Administering the System Accounting Services