[751] in Enterprise Print Delivery Team
Accounting
daemon@ATHENA.MIT.EDU (Lynne E. Durland)
Tue Dec 5 13:26:21 2000
Message-Id: <4.3.2.7.2.20001205131323.00d04e50@hesiod>
Date: Tue, 05 Dec 2000 13:27:16 -0500
To: printdel@MIT.EDU
From: "Lynne E. Durland" <durland@MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Rocklyn,
After reading Dave's mail it sounds like we need to set up three chron jobs
that should run monthly.
The first to create the print breakdown by user.
The second to create print breakdown by destination (printer)
The third to archive the accounting log
The accounting logs reside in the following directory:
/var/pd/plunder/accounting.logs
The actual log names are:
-rw-r----- 1 root printq 283 Oct 24 13:52
E19-IP60.accounting.log.v1
-rw-r----- 1 root printq 4850 Dec 05 12:17 RET.accounting.log.v1
-rw-r----- 1 root printq 7297 Nov 29 10:20
W91-IP60.accounting.log.v1
-rw-r----- 1 root printq 2478 Nov 29 11:00 ops8100.accounting.log.v1
-rw-r----- 1 root printq 4191 Dec 04 13:11
w91-109-ds-2.accounting.log.v1
-rw-r----- 1 root printq 1536 Nov 17 12:13
w91-230-5si.accounting.log.v1
The format of the pdaccount command is:
pdaccount -t {all,user,destination} -s '00:00:00 mm/dd/yy' -e '00:00:00
mm/dd/yy' plunder (servername) >/directory/filename
root, rclarke, and durland can perform this command from any directory
The archive process is simply a move command:
mv E19-IP60.accouting.log.v1 /1prt2000
We need to remember that once the log has been moved to another directory
the pdaccount command will no longer work against it. However the data in
the log looks very much like the result of the pdaccount -t all command.
The results of the pdaccount command for user, will need to cleaned up,
tallied, have the account numbers associated, and ship it off to sap.
Hope this helps
Lynne
Lynne E. Durland
Information Systems
Database Services
W91-109
O: 617-258-5857
C: 617-293-8091
B: 617-430-8762
H: KB1FEM
"The main dangers in this life are the people who want to change
everything.....or nothing."
Lady Nancy
Astor