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