]>
Commit | Line | Data |
---|---|---|
ef8ad44b | 1 | .\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.13 2004/04/16 09:31:17 brueffer Exp $ |
34d340d7 | 2 | .\" |
ef8ad44b | 3 | .Dd May 21, 1993 |
34d340d7 | 4 | .Dt ACCTON 8 |
ef8ad44b | 5 | .Os |
34d340d7 A |
6 | .Sh NAME |
7 | .Nm accton | |
8 | .Nd enable/disable system accounting | |
9 | .Sh SYNOPSIS | |
ef8ad44b A |
10 | .Nm |
11 | .Op Ar acctfile | |
34d340d7 | 12 | .Sh DESCRIPTION |
ef8ad44b A |
13 | The |
14 | .Nm | |
15 | utility is used | |
16 | for switching system accounting on or off. | |
17 | If called with the argument | |
18 | .Ar acctfile , | |
19 | system accounting is enabled. | |
20 | The | |
21 | .Ar acctfile | |
22 | specified must exist prior to starting system accounting, or | |
23 | .Nm | |
24 | will return an error. | |
25 | A record of every process that is started by the | |
26 | .Xr execve 2 | |
27 | system call and then later exits the system is stored in | |
28 | .Ar acctfile . | |
29 | The | |
30 | .Xr sa 8 | |
31 | command may be used to examine the accounting records. | |
32 | If no arguments are given, system accounting is disabled. | |
33 | .Sh FILES | |
34 | .Bl -tag -width /var/account/acct | |
35 | .It Pa /var/account/acct | |
36 | default accounting file | |
37 | .El | |
34d340d7 A |
38 | .Sh SEE ALSO |
39 | .Xr lastcomm 1 , | |
ef8ad44b A |
40 | .Xr acct 2 , |
41 | .Xr acct 5 , | |
42 | .Xr sa 8 |