Commit | Line | Data |
---|---|---|
57a8368b C |
1 | .TH PAC 8 "21 February 1981" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | pac \- 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 | |
20 | reads the printer/plotter accounting files, accumulating the number | |
21 | of pages (the usual case) or feet (for raster devices) | |
22 | of paper consumed by each user, and printing out | |
23 | how much each user consumed in pages or feet and dollars. | |
24 | If any | |
25 | .I names | |
26 | are specified, then statistics are only printed for those users; | |
27 | usually, statistics are printed for every user who has used any paper. | |
28 | .PP | |
29 | The | |
30 | .B \-P | |
31 | flag causes accounting to be done for the named printer. | |
32 | Normally, accounting is done for the default printer (site dependent) or | |
33 | the value of the environment variable | |
34 | .B PRINTER | |
35 | is used. | |
36 | .PP | |
37 | The | |
38 | .B \-p | |
39 | flag causes the value | |
40 | .I price | |
41 | to be used for the cost in dollars instead of the default value of 0.02. | |
42 | .PP | |
43 | The | |
44 | .B \-c | |
45 | flag causes the output to be sorted by cost; usually the | |
46 | output is sorted alphabetically by name. | |
47 | .PP | |
48 | The | |
49 | .B \-r | |
50 | flag reverses the sorting order. | |
51 | .PP | |
52 | The | |
53 | .B \-s | |
54 | flag causes the accounting information to be summarized on the | |
55 | summary accounting file; this summarization is necessary since on a | |
56 | busy 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 | |
63 | The relationship between the computed price and reality is | |
64 | as yet unknown. |