|
|
1.1 root 1: .\" Copyright (c) 1983 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)pac.8 6.4 (Berkeley) 6/24/90
19: .\"
20: .TH PAC 8 "June 24, 1990"
21: .UC 5
22: .SH NAME
23: pac \- printer/plotter accounting information
24: .SH SYNOPSIS
25: .B pac
26: [
27: .B \-Pprinter
28: ] [
29: .B \-pprice
30: ] [
31: .B \-s
32: ] [
33: .B \-r
34: ] [
35: .B \-c
36: ] [
37: .B \-m
38: ] [ name ... ]
39: .SH DESCRIPTION
40: .I Pac
41: reads the printer/plotter accounting files, accumulating the number
42: of pages (the usual case) or feet (for raster devices)
43: of paper consumed by each user, and printing out
44: how much each user consumed in pages or feet and dollars.
45: If any
46: .I names
47: are specified, then statistics are only printed for those users;
48: usually, statistics are printed for every user who has used any paper.
49: .PP
50: The
51: .B \-P
52: flag causes accounting to be done for the named printer.
53: Normally, accounting is done for the default printer (site dependent) or
54: the value of the environment variable
55: .B PRINTER
56: is used.
57: .PP
58: The
59: .B \-p
60: flag causes the value
61: .I price
62: to be used for the cost in dollars instead of the default value of 0.02
63: or the price specified in
64: .IR /etc/printcap.
65: .PP
66: The
67: .B \-c
68: flag causes the output to be sorted by cost; usually the
69: output is sorted alphabetically by name.
70: .PP
71: The
72: .B \-r
73: flag reverses the sorting order.
74: .PP
75: The
76: .B \-s
77: flag causes the accounting information to be summarized on the
78: summary accounting file; this summarization is necessary since on a
79: busy system, the accounting file can grow by several lines per day.
80: .PP
81: The
82: .B \-m
83: flag causes the host name to be ignored in the accounting file. This
84: allows for a user on multiple machines to have all of his printing
85: charges grouped together.
86: .SH FILES
87: .ta 2i
88: /var/account/?acct raw accounting files
89: .br
90: /var/account/?_sum summary accounting files
91: .br
92: /etc/printcap printer capability data base
93: .SH SEE ALSO
94: printcap(5)
95: .SH BUGS
96: The relationship between the computed price and reality is
97: as yet unknown.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.