|PAC(8)||System Manager's Manual||PAC(8)|
pacreads the printer/plotter accounting files, accumulating the number of pages (the usual case) or feet (for raster devices) of paper consumed by each named user, and prints out how much each user consumed in pages or feet and dollars.
When no user arguments are given, statistics are printed for every user who has used any paper.
The options are as follows:
- Accounting is done for the named printer. Normally, accounting is done for
the default printer (site dependent) or the value of the environment
- Causes the output to be sorted by cost; usually the output is sorted alphabetically by name.
- Causes the host name to be ignored in the accounting file. This allows for a user on multiple machines to have all of his printing charges grouped together.
- The value price is used for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap.
- Reverse the sorting order.
- Accounting information is summarized on the summary accounting file; this summarization is necessary since on a busy system, the accounting file can grow by several lines per day.
pacformats the output into a simple table, using four columns:
- The host name followed by the user's login name (column
"Login"). If the
-moption was specified, the host name will be omitted.
- The number of pages or feet printed (column "pages/feet").
- The number of copies made (column "runs").
- The total price for the user (column "price").
If no user argument was specified,
pac will print a summary line with print totals.
- raw accounting files
- summary accounting files
- printer capability database
paccommand appeared in 4.0BSD.
BUGS¶The relationship between the computed price and reality is as yet unknown.
|May 31, 2007||Linux 4.19.0-6-amd64|