Become superuser.
Change to the /var/adm/acct/sum directory.
Convert the contents of tacct.MMDD from binary to ASCII format.
# acctmerg -v tacct.MMDD xtacct |
MMDD |
Month and day specified by two-digit numbers. |
Edit the xtacct file, removing bad records and writing duplicate records to another file.
Convert the xtacct file from ASCII format to binary.
# acctmerg -i xtacct tacct.MMDD |
MMDD |
Month and day specified by two-digit numbers. |
Merge the files tacct.prev and tacct.MMDD into the file tacct.
# acctmerg tacctprev tacct.MMDD tacct |