1PAC(8) System Manager's Manual PAC(8)
2
3
4
6 pac - printer/plotter accounting information
7
9 /usr/sbin/pac [ -Pprinter ] [ -pprice ] [ -s ] [ -r ] [ -c ] [ -m ] [
10 name ... ]
11
13 Pac reads the printer/plotter accounting files, accumulating the number
14 of pages (the usual case) or feet (for raster devices) of paper con‐
15 sumed by each user, and printing out how much each user consumed in
16 pages or feet and dollars. If any names are specified, then statistics
17 are only printed for those users; usually, statistics are printed for
18 every user who has used any paper.
19
20 The -P flag causes accounting to be done for the named printer. Nor‐
21 mally, accounting is done for the default printer (site dependent) or
22 the value of the environment variable PRINTER is used.
23
24 The -p flag causes the value price to be used for the cost in dollars
25 instead of the default value of 0.02 or the price specified in
26 /etc/printcap.
27
28 The -c flag causes the output to be sorted by cost; usually the output
29 is sorted alphabetically by name.
30
31 The -r flag reverses the sorting order.
32
33 The -s flag causes the accounting information to be summarized on the
34 summary accounting file; this summarization is necessary since on a
35 busy system, the accounting file can grow by several lines per day.
36
37 The -m flag causes the host name to be ignored in the accounting file.
38 This allows for a user on multiple machines to have all of his printing
39 charges grouped together.
40
42 /usr/adm/?acct raw accounting files
43 /usr/adm/?_sum summary accounting files
44 /etc/printcap printer capability data base
45
47 printcap(5)
48
50 The relationship between the computed price and reality is as yet
51 unknown.
52
53
54
554.2 Berkeley Distribution November 1, 1996 PAC(8)