aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/accton.tproj/accton.8
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/accton.tproj/accton.8')
-rw-r--r--system_cmds/accton.tproj/accton.842
1 files changed, 42 insertions, 0 deletions
diff --git a/system_cmds/accton.tproj/accton.8 b/system_cmds/accton.tproj/accton.8
new file mode 100644
index 0000000..039b257
--- /dev/null
+++ b/system_cmds/accton.tproj/accton.8
@@ -0,0 +1,42 @@
+.\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.13 2004/04/16 09:31:17 brueffer Exp $
+.\"
+.Dd May 21, 1993
+.Dt ACCTON 8
+.Os
+.Sh NAME
+.Nm accton
+.Nd enable/disable system accounting
+.Sh SYNOPSIS
+.Nm
+.Op Ar acctfile
+.Sh DESCRIPTION
+The
+.Nm
+utility is used
+for switching system accounting on or off.
+If called with the argument
+.Ar acctfile ,
+system accounting is enabled.
+The
+.Ar acctfile
+specified must exist prior to starting system accounting, or
+.Nm
+will return an error.
+A record of every process that is started by the
+.Xr execve 2
+system call and then later exits the system is stored in
+.Ar acctfile .
+The
+.Xr sa 8
+command may be used to examine the accounting records.
+If no arguments are given, system accounting is disabled.
+.Sh FILES
+.Bl -tag -width /var/account/acct
+.It Pa /var/account/acct
+default accounting file
+.El
+.Sh SEE ALSO
+.Xr lastcomm 1 ,
+.Xr acct 2 ,
+.Xr acct 5 ,
+.Xr sa 8