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