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