]> git.saurik.com Git - apple/system_cmds.git/blob - accton.tproj/accton.8
system_cmds-735.20.1.tar.gz
[apple/system_cmds.git] / accton.tproj / accton.8
1 .\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.13 2004/04/16 09:31:17 brueffer Exp $
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