Changeset 27 for contributed/trunk/billing-query
- Timestamp:
- 03/06/08 10:48:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contributed/trunk/billing-query/dcache-billing-query.py
r26 r27 2 2 # 3 3 # $Id: $ 4 5 ''' This script pulls information about user activities from the 6 dCache billing database and logs. This will be useful if there is a 7 security incident at your site and you want to pick out all relevant 8 information about the activity of a particular user DN. 9 10 Usage 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 15 Once you have pinned down the start and end times to within a day of 16 each other, run the script again with the -l option to query the 17 billing log files (with out -l it just looks at the billing 18 database). 19 20 References 21 ---------- 22 23 Script: http://trac.dcache.org/trac.cgi/browser/contributed/trunk/billing-query 24 PyGreSQL: http://www.pygresql.org/ 25 ''' 4 26 5 27 __author__ = 'Greig A Cowan'
Note: See TracChangeset
for help on using the changeset viewer.