1 These are just a few examples of what you can do for printer accounting;
2 they are really just hacks to show a manager how may pages were being
3 printed out on his new hp5n :)
5 acct-all will run acct-sum and read the log files to generate some
8 Here is a sample output of the raw stats :
10 1996-06-10.15:02:15 pkelly master.fcp.oypi.com 538 0
11 1996-06-10.15:06:40 pkelly master.fcp.oypi.com 537 0
12 1996-06-10.15:32:12 ted master.fcp.oypi.com 547 0
13 1996-06-11.09:06:15 violet master.fcp.oypi.com 2667 0
14 1996-06-11.09:48:02 violet master.fcp.oypi.com 66304 5
15 1996-06-11.09:50:04 violet master.fcp.oypi.com 116975 9
16 1996-06-11.09:57:20 violet master.fcp.oypi.com 3013 1
17 1996-06-11.10:13:17 pkelly master.fcp.oypi.com 3407 1
18 1996-06-11.12:37:06 craig master.fcp.oypi.com 13639 2
19 1996-06-11.12:42:23 pkelly master.fcp.oypi.com 13639 2
20 1996-06-11.12:45:11 marlene master.fcp.oypi.com 515 0
21 1996-06-11.14:17:10 lucie master.fcp.oypi.com 1405 1
22 1996-06-11.14:36:03 laura master.fcp.oypi.com 45486 5
23 1996-06-11.15:08:21 violet master.fcp.oypi.com 1923 1
24 1996-06-11.15:09:42 laura master.fcp.oypi.com 4821 1
25 1996-06-11.15:12:28 laura master.fcp.oypi.com 46277 5
26 1996-06-11.15:19:38 violet master.fcp.oypi.com 3503 1
27 1996-06-11.15:21:49 lucie master.fcp.oypi.com 493 0
28 1996-06-11.15:43:36 al master.fcp.oypi.com 3067 1
30 And the output after the acct-sum is done on a full set of files
33 master[1072] /var/log/lp$ /etc/conf/acct-all
35 Sun Jul 21 23:03:16 EDT 1996
37 Pages are approximate ...
45 marlene 12 151 1539 KB
46 melanie 83 365 3691 KB
47 michelle 68 219 1987 KB
50 operator 44 137 1132 KB
51 pkelly 368 984 11154 KB
55 violet 419 1002 10072 KB