Commit | Line | Data |
---|---|---|
e6817382 BJ |
1 | .TH ACCT 5 |
2 | .SH NAME | |
3 | acct \- execution accounting file | |
4 | .SH SYNOPSIS | |
5 | .B #include <sys/acct.h> | |
6 | .SH DESCRIPTION | |
7 | .IR Acct (2) | |
8 | causes entries to be made into an accounting file | |
9 | for each process that terminates. | |
10 | The accounting file is a sequence of entries whose layout, | |
11 | as defined by the include file | |
12 | is: | |
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 | |
19 | If the process does an | |
20 | .IR exec (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 exec (2) | |
25 | was ever accomplished, and whether the | |
26 | process ever had super-user privileges. | |
27 | .SH SEE ALSO | |
28 | acct(2), sa(1) |