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