Accounting file formats

The following table summarizes the accounting file output and formats.

Item Description
wtmp Produces the active process accounting file. The format of the wtmp file is defined in the utmp.h file. For information about the utmp.h file, see utmp.h.
ctmp Produces connect session records. The format is described in the ctmp.h file.
pacct* Produces active process accounting records. The format of the output is defined in the /usr/include/sys/acct.h file.
Spacct* Produces process accounting files for mmdd during the running of the runacct command. The format of these files is defined in the sys/acct.h file.
daytacct Produces total accounting records for one day. The format of the file is defined in the tacct file format.
sum/tacct Produces binary file that accumulates each day's command summaries. The format of this file is defined in the /usr/include/sys/acct.h header file.
ptacct Produces concatenated versions of pacct files. The format of these files are defined in the tacct file.
ctacct Produces connect total accounting records. The output of this file is defined in the tacct file.
cms Produces total accounting command summary used by the prdaily command, in binary format. The ASCII version is nite/cms.
daycms Daily command summary used by the prdaily command, in binary format. The ASCII version is nite/daycms.