BSD 4_2 development
[unix-history] / usr / man / man8 / pac.8
CommitLineData
57a8368b
C
1.TH PAC 8 "21 February 1981"
2.UC 4
3.SH NAME
4pac \- printer/ploter accounting information
5.SH SYNOPSIS
6.B /etc/pac
7[
8.B \-Pprinter
9] [
10.B \-pprice
11] [
12.B \-s
13] [
14.B \-r
15] [
16.B \-c
17] [ name ... ]
18.SH DESCRIPTION
19.I Pac
20reads the printer/plotter accounting files, accumulating the number
21of pages (the usual case) or feet (for raster devices)
22of paper consumed by each user, and printing out
23how much each user consumed in pages or feet and dollars.
24If any
25.I names
26are specified, then statistics are only printed for those users;
27usually, statistics are printed for every user who has used any paper.
28.PP
29The
30.B \-P
31flag causes accounting to be done for the named printer.
32Normally, accounting is done for the default printer (site dependent) or
33the value of the environment variable
34.B PRINTER
35is used.
36.PP
37The
38.B \-p
39flag causes the value
40.I price
41to be used for the cost in dollars instead of the default value of 0.02.
42.PP
43The
44.B \-c
45flag causes the output to be sorted by cost; usually the
46output is sorted alphabetically by name.
47.PP
48The
49.B \-r
50flag reverses the sorting order.
51.PP
52The
53.B \-s
54flag causes the accounting information to be summarized on the
55summary accounting file; this summarization is necessary since on a
56busy system, the accounting file can grow by several lines per day.
57.SH FILES
58.ta 2i
59/usr/adm/?acct raw accounting files
60.br
61/usr/adm/?_sum summary accounting files
62.SH BUGS
63The relationship between the computed price and reality is
64as yet unknown.