pac man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

PAC(8)			  BSD System Manager's Manual			PAC(8)

NAME
     pac — printer/plotter accounting information

SYNOPSIS
     pac [-cmrs] [-P printer] [-p price] [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.

     Options and operands available:

     -Pprinter	Accounting is done for the named printer.  Normally, account‐
		ing is done for the default printer (site dependent) or the
		value of the environment variable PRINTER is used.

     -c		flag causes the output to be sorted by cost; usually the out‐
		put is sorted alphabetically by name.

     -m		flag 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.

     -pprice	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.

     -r		Reverse the sorting order.

     -s		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.

     names	Statistics are only printed for user(s) name; usually, statis‐
		tics are printed for every user who has used any paper.

OUTPUT FORMAT
     pac formats the output into simple table, using four columns - number of
     feets or pages (column "pages/feet"), how many copies were made (column
     "runs"), total price for this print (column "price") and user login with
     host name (column "login" or "host name and login"). If argument name was
     not used and hence pac is printing information for all users, a summary
     line with print totals (runs, pages, price) is appended.

     Note that pac on other system might print the price as price per copy.

FILES
     /var/account/?acct	 raw accounting files
     /var/account/?_sum	 summary accounting files
     /etc/printcap	 printer capability data base

SEE ALSO
     printcap(5)

HISTORY
     The pac command appeared in 4.0BSD.

BUGS
     The relationship between the computed price and reality is as yet
     unknown.

BSD				 June 6, 1993				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net