Changeset 15558 for trunk/DataCheck/QuickLook
- Timestamp:
- 05/08/13 18:14:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/Step1.sh
r15520 r15558 62 62 } 63 63 64 diskusage=( `df -P /raid10 | grep raid10 ` ) 65 # check if more than 700 GB are left on /loc_data 66 if [ ${diskusage[3]} -lt 800000000 ] 67 then 68 echo "WARN less than 700 left on /raid10 on node "$HOSTNAME 69 printprocesslog "WARN less than 700 left on /raid10 on node "$HOSTNAME 70 df -h /raid10 71 finish 72 fi 64 function check_daq() 65 { 66 diskusage=( `df -P /raid10 | grep raid10 ` ) 67 # check if more than 700 GB are left on /loc_data 68 if [ ${diskusage[3]} -lt 800000000 ] 69 then 70 echo "WARN less than 700 left on /raid10 on node "$HOSTNAME 71 printprocesslog "WARN less than 700 left on /raid10 on node "$HOSTNAME 72 df -h /raid10 73 finish 74 fi 75 } 76 77 check_daq 73 78 74 79 printprocesslog "INFO get lists of raw files on newdaq and daq" … … 91 96 while [ ${#fileslocal[@]} -ne ${#files[@]} ] || [ $numdataruns -ne ${#callistofiles[@]} ] 92 97 do 98 # only continue with script 99 # when there is more than 10% space on daq 100 check_daq 101 93 102 numdataruns=0 94 103 #echo "INFO #files-daq:"${#fileslocal[@]}" #files-newdaq:"${#files[@]}" #callisto-logs:"${#callistofiles[@]}" #data-runs:"$numdataruns
Note:
See TracChangeset
for help on using the changeset viewer.