freebsd-dev/usr.sbin/accton/accton.8

37 lines
710 B
Groff
Raw Normal View History

.\" $FreeBSD$
.\"
.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
2002-07-14 14:47:15 +00:00
utility is used
for switching system accounting on or off.
If called with the argument
.Ar acctfile ,
system accounting is enabled and 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
2002-03-08 01:29:06 +00:00
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 sa 8