Friday 9 March 2007

Prettification

With a hat-tip to xkcd I decided to knock up an ugly script to convert this:
aelwell@ppepc62:~$ ls tra*06T*.log
transfer-2007-03-06T09-52-38.log transfer-2007-03-06T14-38-59.log transfer-2007-03-06T19-06-22.log

consisting of blocks like
Transfer: srm://ralsrma.rl.ac.uk:8443//castor/ads.rl.ac.uk/prod/grid/hep/disk1tape1/dteam/j/jkf/castorTest/1GBcanned000 to srm:
//svr018.gla.scotgrid.ac.uk:8443/dpm/gla.scotgrid.ac.uk/home/dteam/aetest10/tfr000-file00000
Size: 1000000000.0
FTS Duration: 188
FTS Retries: 0
FTS State: Done
FTS Reason: (null)
Local_Created: 1173174769.27
Local_Submit: 1173174769.3
Submitted: 1173174770.69
Active: 1173174832.97
Done: 1173175041.23
Delete_time: 1173175050.67

into the much prettier



As normal, it's available on http://www.gridpp.ac.uk/wiki/User:Andrew_elwell/Scripts

No comments: