Installation guide

# chargefee josh 7
If the previous command is issued, the following record is written to the
/var/adm/fee file:
1114 josh 0 0 00000000007000
12.8 Printer Accounting
When you use a printer that has accounting enabled, a record is written to
the printer accounting file. Printer accounting records have a specific
syntax and provide the following information:
Name of the host and user that issued the print request
Number of pages or feet of medium printed
Number of times the printer was used
Price per unit of printed output
The printer accounting records enable you to charge users for the system
printing resources and to track printer usage.
The two printer accounting files are located in either the /var/adm or the
/var/adm/printer directory. The
printer.
acct printer user file lists
the amount and cost of print media used, according to machine and user
name. The
printer.
acct_sum printer summary file lists a summary of
media produced according to machine and user name. The
printer
variable specifies the printer name. Refer to Chapter 10 for information on
creating the printer accounting files.
Use the pac command to create a report of your printer activity. The pac
command can obtain information only for printers that have accounting
enabled. The pac command has the following syntax:
pac
[-cmrs][-p price][-P printer][user...]
Refer to the pac(8) reference page for information on the command options.
12.9 Creating Daily, Summary, and Monthly Report Files
There are four shell scripts and one command that you can use to create
daily, summary, and monthly report files in the /var/adm/acct/nite,
/var/adm/acct/sum, and /var/adm/acct/fiscal directories, as shown
in the following table:
12–34 Administering the System Accounting Services