xref: /dragonfly/usr.sbin/accton/accton.8 (revision d4ef6694)
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
14The
15.Nm
16utility is used
17for switching system accounting on or off.
18If called with the argument
19.Ar acctfile ,
20system accounting is enabled.
21The
22.Ar acctfile
23specified must exist prior to starting system accounting, or
24.Nm
25will return an error.
26A record of every process that is started by the
27.Xr execve 2
28system call and then later exits the system is stored in
29.Ar acctfile .
30The
31.Xr sa 8
32command may be used to examine the accounting records.
33If no arguments are given, system accounting is disabled.
34.Sh FILES
35.Bl -tag -width /var/account/acct
36.It Pa /var/account/acct
37default accounting file
38.El
39.Sh SEE ALSO
40.Xr lastcomm 1 ,
41.Xr acct 2 ,
42.Xr acct 5 ,
43.Xr sa 8
44