Name | Date | Size | ||
---|---|---|---|---|
.. | 27-Nov-2015 | 23 | ||
acct-all | H A D | 27-Nov-2015 | 114 | |
acct-sum | H A D | 27-Nov-2015 | 695 | |
hp5-redir | H A D | 27-Nov-2015 | 998 | |
lp-acct | H A D | 27-Nov-2015 | 746 | |
printcap | H A D | 27-Nov-2015 | 560 | |
README | H A D | 27-Nov-2015 | 2.3 KiB |
README
1These are just a few examples of what you can do for printer accounting; 2they are really just hacks to show a manager how may pages were being 3printed out on his new hp5n :) 4 5acct-all will run acct-sum and read the log files to generate some 6stats. 7 8Here is a sample output of the raw stats : 9 101996-06-10.15:02:15 pkelly master.fcp.oypi.com 538 0 111996-06-10.15:06:40 pkelly master.fcp.oypi.com 537 0 121996-06-10.15:32:12 ted master.fcp.oypi.com 547 0 131996-06-11.09:06:15 violet master.fcp.oypi.com 2667 0 141996-06-11.09:48:02 violet master.fcp.oypi.com 66304 5 151996-06-11.09:50:04 violet master.fcp.oypi.com 116975 9 161996-06-11.09:57:20 violet master.fcp.oypi.com 3013 1 171996-06-11.10:13:17 pkelly master.fcp.oypi.com 3407 1 181996-06-11.12:37:06 craig master.fcp.oypi.com 13639 2 191996-06-11.12:42:23 pkelly master.fcp.oypi.com 13639 2 201996-06-11.12:45:11 marlene master.fcp.oypi.com 515 0 211996-06-11.14:17:10 lucie master.fcp.oypi.com 1405 1 221996-06-11.14:36:03 laura master.fcp.oypi.com 45486 5 231996-06-11.15:08:21 violet master.fcp.oypi.com 1923 1 241996-06-11.15:09:42 laura master.fcp.oypi.com 4821 1 251996-06-11.15:12:28 laura master.fcp.oypi.com 46277 5 261996-06-11.15:19:38 violet master.fcp.oypi.com 3503 1 271996-06-11.15:21:49 lucie master.fcp.oypi.com 493 0 281996-06-11.15:43:36 al master.fcp.oypi.com 3067 1 29 30And the output after the acct-sum is done on a full set of files 31in /var/log/lp/* 32 33master[1072] /var/log/lp$ /etc/conf/acct-all 34 35Sun Jul 21 23:03:16 EDT 1996 36 37Pages are approximate ... 38 39User Jobs Pages Size 40al 1 1 2 KB 41craig 1 2 13 KB 42jack 68 235 1995 KB 43laura 88 328 3050 KB 44lucie 221 379 3529 KB 45marlene 12 151 1539 KB 46melanie 83 365 3691 KB 47michelle 68 219 1987 KB 48mike 2 10 81 KB 49neil 111 225 2753 KB 50operator 44 137 1132 KB 51pkelly 368 984 11154 KB 52root 8 0 29 KB 53ted 158 257 2337 KB 54tony 244 368 2455 KB 55violet 419 1002 10072 KB 56 57 58Printer Jobs Pages 59hp2p 3 4 60hp5 915 2135 61lp 978 2524 62 63<pkelly@ets.net> 64