|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)pac.8 6.2 (Berkeley) 10/30/85
6: .\"
7: .TH PAC 8 "October 30, 1985"
8: .UC 5
9: .SH NAME
10: pac \- printer/plotter accounting information
11: .SH SYNOPSIS
12: .B /etc/pac
13: [
14: .B \-Pprinter
15: ] [
16: .B \-pprice
17: ] [
18: .B \-s
19: ] [
20: .B \-r
21: ] [
22: .B \-c
23: ] [
24: .B \-m
25: ] [ name ... ]
26: .SH DESCRIPTION
27: .I Pac
28: reads the printer/plotter accounting files, accumulating the number
29: of pages (the usual case) or feet (for raster devices)
30: of paper consumed by each user, and printing out
31: how much each user consumed in pages or feet and dollars.
32: If any
33: .I names
34: are specified, then statistics are only printed for those users;
35: usually, statistics are printed for every user who has used any paper.
36: .PP
37: The
38: .B \-P
39: flag causes accounting to be done for the named printer.
40: Normally, accounting is done for the default printer (site dependent) or
41: the value of the environment variable
42: .B PRINTER
43: is used.
44: .PP
45: The
46: .B \-p
47: flag causes the value
48: .I price
49: to be used for the cost in dollars instead of the default value of 0.02
50: or the price specified in
51: .IR /etc/printcap.
52: .PP
53: The
54: .B \-c
55: flag causes the output to be sorted by cost; usually the
56: output is sorted alphabetically by name.
57: .PP
58: The
59: .B \-r
60: flag reverses the sorting order.
61: .PP
62: The
63: .B \-s
64: flag causes the accounting information to be summarized on the
65: summary accounting file; this summarization is necessary since on a
66: busy system, the accounting file can grow by several lines per day.
67: .PP
68: The
69: .B \-m
70: flag causes the host name to be ignored in the accounting file. This
71: allows for a user on multiple machines to have all of his printing
72: charges grouped together.
73: .SH FILES
74: .ta 2i
75: /usr/adm/?acct raw accounting files
76: .br
77: /usr/adm/?_sum summary accounting files
78: .br
79: /etc/printcap printer capability data base
80: .SH SEE ALSO
81: printcap(5)
82: .SH BUGS
83: The relationship between the computed price and reality is
84: as yet unknown.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.