Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / accton / accton.8
1 .\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.6.2.6 2003/03/11 21:13:47 trhodes Exp $
2 .\"
3 .Dd May 21, 1993
4 .Dt ACCTON 8
5 .Os
6 .Sh NAME
7 .Nm accton
8 .Nd enable/disable system accounting
9 .Sh SYNOPSIS
10 .Nm
11 .Op Ar acctfile
12 .Sh DESCRIPTION
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 and a record of
20 every process that is started by the
21 .Xr execve 2
22 system call and then later exits the system is stored in
23 .Ar acctfile .
24 The
25 .Xr sa 8
26 command may be used to examine the accounting records.
27 If no arguments are given, system accounting is disabled.
28 .Sh FILES
29 .Bl -tag -width /var/account/acct
30 .It Pa /var/account/acct
31 default accounting file
32 .El
33 .Sh SEE ALSO
34 .Xr lastcomm 1 ,
35 .Xr acct 2 ,
36 .Xr sa 8