Commit | Line | Data |
---|---|---|
6f1a4a0a C |
1 | .TH ACCT 5 "15 January 1983" |
2 | .SH NAME | |
3 | acct \- execution accounting file | |
4 | .SH SYNOPSIS | |
5 | .B #include <sys/acct.h> | |
6 | .SH DESCRIPTION | |
7 | The | |
8 | .IR acct (2) | |
9 | system call makes entries in an accounting file | |
10 | for each process that terminates. | |
11 | The accounting file is a sequence of entries whose layout, | |
12 | as 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 | |
19 | If the process does an | |
20 | .IR execve (2), | |
21 | the first 10 characters of the filename appear in | |
22 | .I ac_comm. | |
23 | The accounting flag contains bits indicating whether | |
24 | .IR execve (2) | |
25 | was ever accomplished, and whether the process ever had super-user privileges. | |
26 | .SH SEE ALSO | |
27 | acct(2), execve(2), sa(8) |