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