]> git.saurik.com Git - apple/system_cmds.git/blame - accton.tproj/accton.8
system_cmds-735.20.1.tar.gz
[apple/system_cmds.git] / accton.tproj / accton.8
CommitLineData
ef8ad44b 1.\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.13 2004/04/16 09:31:17 brueffer Exp $
34d340d7 2.\"
ef8ad44b 3.Dd May 21, 1993
34d340d7 4.Dt ACCTON 8
ef8ad44b 5.Os
34d340d7
A
6.Sh NAME
7.Nm accton
8.Nd enable/disable system accounting
9.Sh SYNOPSIS
ef8ad44b
A
10.Nm
11.Op Ar acctfile
34d340d7 12.Sh DESCRIPTION
ef8ad44b
A
13The
14.Nm
15utility is used
16for switching system accounting on or off.
17If called with the argument
18.Ar acctfile ,
19system accounting is enabled.
20The
21.Ar acctfile
22specified must exist prior to starting system accounting, or
23.Nm
24will return an error.
25A record of every process that is started by the
26.Xr execve 2
27system call and then later exits the system is stored in
28.Ar acctfile .
29The
30.Xr sa 8
31command may be used to examine the accounting records.
32If no arguments are given, system accounting is disabled.
33.Sh FILES
34.Bl -tag -width /var/account/acct
35.It Pa /var/account/acct
36default accounting file
37.El
34d340d7
A
38.Sh SEE ALSO
39.Xr lastcomm 1 ,
ef8ad44b
A
40.Xr acct 2 ,
41.Xr acct 5 ,
42.Xr sa 8