Become superuser.
Change to the /var/adm/acct/sum directory.
Convert the tacctMMDD file from binary to ASCII format.
# /usr/lib/acct/acctmerg -v < tacctMMDD > xtacct |
MMDD is pair of two-digit numbers that represent the month and day.
Edit the xtacct file, removing corrupted records and writing duplicate records to another file.
Convert the xtacct file from ASCII format to binary.
# /usr/lib/acct/acctmerg -i < xtacct > tacctMMDD |
MMDD is pair of two-digit numbers that represent the month and day.
Merge the files tacctprev and tacct.MMDD into the tacct file.
# /usr/lib/acct/acctmerg < tacctprev tacctMMDD > tacct |