pac(1M) pac(1M)
NAME
pac - gathers printer/plotter accounting information
SYNOPSIS
/etc/pac [ -Pprinter ] [ -pprice ] [-s] [-r] [-c] [-m]
[name]...
DESCRIPTION
pac reads the printer/plotter accounting files, accumulating
the number of pages (the usual case) or feet (for raster
devices) of paper consumed by each user, and printing out
how much each user consumed in pages or feet and dollars.
If any names are specified, then statistics are only printed
for those users; usually, statistics are printed for every
user who has used any paper.
FLAG OPTIONS
The following flag options are interpreted by pac:
-Pprinter
Does accounting for the named printer. Normally, ac-
counting is done for the default printer (site-
dependent) or the value of the environment variable
PRINTER is used.
-pprice
Uses the value price for the cost in dollars instead of
the default value of 0.02 or the price specified in
/etc/printcap.
-c Sorts the output by cost. Usually the output is sorted
alphabetically by name.
-r Reverses the sorting order.
-s Summarizes the accounting information on the summary
accounting file. This summarizing is necessary because
the accounting file can grow by several lines per day
on a busy system.
-m Ignores the host name in the accounting file so a user
on multiple machines can have all of his or her print-
ing charges grouped together.
FILES
/usr/adm/?acct Raw accounting files
/usr/adm/?_sum Summary accounting files
/etc/printcap Printer-capability database
SEE ALSO
printcap(4).
April, 1990 1
BUGS
The relationship between the computed price and reality is
as yet unknown.
2 April, 1990