- genevb's home page
- Posts
- 2024
- 2023
- 2022
- September (1)
- 2021
- 2020
- 2019
- 2018
- 2017
- December (1)
- October (3)
- September (1)
- August (1)
- July (2)
- June (2)
- April (2)
- March (2)
- February (1)
- 2016
- November (2)
- September (1)
- August (2)
- July (1)
- June (2)
- May (2)
- April (1)
- March (5)
- February (2)
- January (1)
- 2015
- December (1)
- October (1)
- September (2)
- June (1)
- May (2)
- April (2)
- March (3)
- February (1)
- January (3)
- 2014
- 2013
- 2012
- 2011
- January (3)
- 2010
- February (4)
- 2009
- 2008
- 2005
- October (1)
- My blog
- Post new blog entry
- All blogs
RT 3062: DAQInfo DiskLoc delays
Updated on Thu, 2015-03-12 16:48. Originally created by genevb on 2015-03-12 16:20.
To document the time lags seen for updates to the DAQInfo table's DiskLoc, I show here the distribution of differences in time (hours) between the last UpdateDate timestamp of a given file, and its corresponding MuDst file's timestamp on disk (accounting for EDT to GMT conversion), restricting to files from day 65 (654 files):
Here is the script I ran to obtain the data (no null results were returned):
-Gene
Here is the script I ran to obtain the data (no null results were returned):
ls -l /star/data{09,10,11,12}/reco/production_pp200trans_2015/ReversedFullField/dev/2015/065/*/st_physics*.MuDst.root >! flist cut -d '/' -f 11 flist | cut -d '.' -f 1 >! slist set quote = '"' foreach ss (`cat slist`) set li = `grep $ss flist` set ti = `echo $li | awk '{print "2015-03-0"$7" "$8}' ` mysql -h duvall.star.bnl.gov -C operation -N -e "select ifnull(DiskLoc,-1),ifnull(hour(timediff(UpdateDate,${quote}${ti}${quote} + interval 4 hour)),-99) from DAQInfo where file=${quote}${ss}.daq${quote}" end
-Gene
»
- genevb's blog
- Login or register to post comments