BSD 3 development
[unix-history] / usr / man / man5 / acct.5
CommitLineData
e6817382
BJ
1.TH ACCT 5
2.SH NAME
3acct \- execution accounting file
4.SH SYNOPSIS
5.B #include <sys/acct.h>
6.SH DESCRIPTION
7.IR Acct (2)
8causes entries to be made into an accounting file
9for each process that terminates.
10The accounting file is a sequence of entries whose layout,
11as defined by the include file
12is:
13.PP
14.nf
15.ta \w'typedef 'u +\w'comp_t 'u +\w'ac_comm[10]; 'u
16.so /usr/include/sys/acct.h
17.fi
18.PP
19If the process does an
20.IR exec (2),
21the first 10 characters of the filename appear in
22.I ac_comm.
23The accounting flag contains bits indicating whether
24.IR exec (2)
25was ever accomplished, and whether the
26process ever had super-user privileges.
27.SH SEE ALSO
28acct(2), sa(1)