NetBSD/usr.sbin/accountant/accountant.8

95 lines
2.8 KiB
Groff
Raw Normal View History

1993-05-03 05:02:50 +04:00
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. The name of the author may not be used to endorse or promote products
.\" derived from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id: accountant.8,v 1.3 1993/05/03 03:06:32 cgd Exp $
1993-05-03 05:02:50 +04:00
.\"
.Dd May 2, 1993
.Dt ACCOUNTANT 8
.Os NetBSD 0.8a
.Sh NAME
.Nm accountant
.Nd copy accounting records to the accounting log
.Sh SYNOPSIS
.Nm accountant
.Op Fl d
.Op Fl s
1993-05-03 05:02:50 +04:00
.Op Fl f Ar log file
.Op Fl F Ar accounting device
.Sh DESCRIPTION
.Nm Accountant
copies the accounting records generated by the
kernel's accounting subsystem from the accounting
device file into the system accounting log.
If invoked with no arguments,
.Nm accountant
becomes a daemon process and does its work silently.
.Pp
Options:
.Pp
.Bl -tag -width Fl
.It Fl d
Run in debug mode. Do not become a
daemon process, and write useful information
to the terminal.
.El
.Pp
.Bl -tag -width Fl
.It Fl s
Sync the accounting log after every write.
.El
.Pp
.Bl -tag -width Fl
1993-05-03 05:02:50 +04:00
.It Fl f Ar log file
Write accounting records to
.Ar log file
rather than the default
accounting log file.
.El
.Pp
.Bl -tag -width Fl
.It Fl F Ar accounting device
Read accounting records from
.Ar accounting device
rather than the default
accounting device.
.El
.Sh FILES
.Bl -tag -width /var/account/acct -compact
.It Pa /var/account/acct
Default accounting log file.
.It Pa /dev/acct
Default accounting device.
.El
.Sh SEE ALSO
1993-05-03 05:45:34 +04:00
.Xr accton 8 ,
1993-05-03 05:02:50 +04:00
.Xr lastcomm 1 ,
.Xr acct 5
.Sh HISTORY
The
.Nm accountant
command appeared in
NetBSD 0.8a.