manual page first distributed with 4.2BSD
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 28 Apr 1985 06:37:11 +0000 (22:37 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 28 Apr 1985 06:37:11 +0000 (22:37 -0800)
SCCS-vsn: usr.sbin/lpr/pac/pac.8 5.1

usr/src/usr.sbin/lpr/pac/pac.8 [new file with mode: 0644]

diff --git a/usr/src/usr.sbin/lpr/pac/pac.8 b/usr/src/usr.sbin/lpr/pac/pac.8
new file mode 100644 (file)
index 0000000..ed2cb2a
--- /dev/null
@@ -0,0 +1,70 @@
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)pac.8       5.1 (Berkeley) %G%
+.\"
+.TH PAC 8 "21 February 1981"
+.UC 5
+.SH NAME
+pac \- printer/ploter accounting information
+.SH SYNOPSIS
+.B /etc/pac
+[
+.B \-Pprinter
+] [
+.B \-pprice
+] [
+.B \-s
+] [
+.B \-r
+] [
+.B \-c
+] [ name ... ]
+.SH DESCRIPTION
+.I Pac
+reads the printer/plotter accounting files, accumulating the number
+of pages (the usual case) or feet (for raster devices)
+of paper consumed by each user, and printing out
+how much each user consumed in pages or feet and dollars.
+If any
+.I names
+are specified, then statistics are only printed for those users;
+usually, statistics are printed for every user who has used any paper.
+.PP
+The
+.B \-P
+flag causes accounting to be done for the named printer.
+Normally, accounting is done for the default printer (site dependent) or
+the value of the environment variable
+.B PRINTER
+is used.
+.PP
+The
+.B \-p
+flag causes the value
+.I price
+to be used for the cost in dollars instead of the default value of 0.02.
+.PP
+The
+.B \-c
+flag causes the output to be sorted by cost; usually the
+output is sorted alphabetically by name.
+.PP
+The
+.B \-r
+flag reverses the sorting order.
+.PP
+The
+.B \-s
+flag causes the accounting information to be summarized on the
+summary accounting file; this summarization is necessary since on a
+busy system, the accounting file can grow by several lines per day.
+.SH FILES
+.ta 2i
+/usr/adm/?acct raw accounting files
+.br
+/usr/adm/?_sum summary accounting files
+.SH BUGS
+The relationship between the computed price and reality is
+as yet unknown.