xref: /freebsd/usr.sbin/accton/accton.8 (revision b601c69bdbe8755d26570261d7fd4c02ee4eff74)
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 accton
11.Op Ar acctfile
12.Sh DESCRIPTION
13The
14.Nm
15command is used
16for switching system accounting on or off.
17If called with the argument
18.Ar acctfile ,
19system accounting is enabled and a record of
20every process that is started by the
21.Xr execve 2
22system call and then later exits the system is stored in
23.Ar acctfile .
24The
25.Xr sa 8
26command may be used to examining the accounting records.
27If no arguments are given, system account is disabled.
28.Sh FILES
29.Bl -tag -width /var/account/acct
30.It Pa /var/account/acct
31default accounting file
32.El
33.Sh SEE ALSO
34.Xr lastcomm 1 ,
35.Xr acct 2 ,
36.Xr sa 8
37