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