Ignore:
Timestamp:
03/06/08 10:48:27 (12 years ago)
Author:
gcowan
Message:

Added some documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contributed/trunk/billing-query/dcache-billing-query.py

    r26 r27  
    22# 
    33# $Id: $ 
     4 
     5''' This script pulls information about user activities from the 
     6dCache billing database and logs. This will be useful if there is a 
     7security incident at your site and you want to pick out all relevant 
     8information about the activity of a particular user DN. 
     9 
     10Usage 
     11----- 
     12 
     13$ python dcache-billing-query.py -s "2008-01-23 12:00:00" -e "2008-01-24 23:00:00" -i "User DN" 
     14 
     15Once you have pinned down the start and end times to within a day of 
     16each other, run the script again with the -l option to query the 
     17billing log files (with out -l it just looks at the billing 
     18database).  
     19 
     20References 
     21---------- 
     22 
     23Script: http://trac.dcache.org/trac.cgi/browser/contributed/trunk/billing-query 
     24PyGreSQL: http://www.pygresql.org/ 
     25''' 
    426 
    527__author__ = 'Greig A Cowan' 
Note: See TracChangeset for help on using the changeset viewer.