Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pac(8) [bsd man page]

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

pac - printer/plotter accounting information SYNOPSIS
/usr/sbin/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 statis- tics are only printed for those users; usually, statistics are printed for every user who has used any paper. The -P flag causes accounting to be done for the named printer. Normally, accounting is done for the default printer (site dependent) or the value of the environment variable PRINTER is used. The -p flag causes the value price to be used for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap. The -c flag causes the output to be sorted by cost; usually the output is sorted alphabetically by name. The -r flag reverses the sorting order. The -s flag causes the accounting information to be 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. The -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. FILES
/usr/adm/?acct raw accounting files /usr/adm/?_sum summary accounting files /etc/printcap printer capability data base SEE ALSO
printcap(5) BUGS
The relationship between the computed price and reality is as yet unknown. 4.2 Berkeley Distribution November 1, 1996 PAC(8)

Check Out this Related Man Page

SA(1M)																	    SA(1M)

sa, accton - system accounting SYNOPSIS
sa [ -abcjlnrstuv ] [ file ] /etc/accton [ file ] DESCRIPTION
With an argument naming an existing file, accton causes system accounting information for every process executed to be placed at the end of the file. If no arguemnt is given, accounting is turned off. Sa reports on, cleans up, and generally maintains accounting files. Sa is able to condense the information in /usr/adm/acct into a summary file /usr/adm/savacct which contains a count of the number of times each command was called and the time resources consumed. This condensation is desirable because on a large system acct can grow by 100 blocks per day. The summary file is read before the accounting file, so the reports include all available information. If a file name is given as the last argument, that file will be treated as the accounting file; sha is the default. There are zillions of options: a Place all command names containing unprintable characters and those used only once under the name `***other.' b Sort output by sum of user and system time divided by number of calls. Default sort is by sum of user and system times. c Besides total user, system, and real time for each command print percentage of total time over all commands. j Instead of total minutes time for each category, give seconds per call. l Separate system and user time; normally they are combined. m Print number of processes and number of CPU minutes for each user. n Sort by number of calls. r Reverse order of sort. s Merge accounting file into summary file /usr/adm/savacct when done. t For each command report ratio of real time to the sum of user and system times. u Superseding all other flags, print for each command in the accounting file the user ID and command name. v If the next character is a digit n, then type the name of each command used n times or fewer. Await a reply from the typewriter; if it begins with `y', add the command to the category `**junk**.' This is used to strip out garbage. FILES
/usr/adm/acct raw accounting /usr/adm/savacct summary /usr/adm/usracct per-user summary SEE ALSO
ac(1), acct(2) SA(1M)
Man Page

Featured Tech Videos