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