Changeset 17617


Ignore:
Timestamp:
03/17/14 12:38:48 (11 years ago)
Author:
Daniela Dorner
Message:
improved logging in case of full disk
Location:
trunk/DataCheck
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Monitoring/CheckDU.sh

    r17613 r17617  
    5858      if [ ${diskusage[3]} -lt $dulimit ]
    5959      then
    60          echo "WARN less than "$dutext" left on "$dir" on node "$HOSTNAME
    61          printprocesslog "DISK less than "$dutext" left on "$dir" on node "$HOSTNAME
     60         echo "WARN less than "$dutext" left on "$dir" on node "$HOSTNAME" ("${diskusage[3]}")"
     61         printprocesslog "DISK less than "$dutext" left on "$dir" on node "$HOSTNAME" ("${diskusage[3]}")"
    6262         df -h $dir
    6363         echo ""
  • trunk/DataCheck/QuickLook/Step1.sh

    r17614 r17617  
    8181   if [ ${diskusage[3]} -lt $disklimitdaq ]
    8282   then
    83       #echo "WARN less than 700 left on /raid10 on node "$HOSTNAME
    84       printprocesslog "DISK less than 700 left on /raid10 on node "$HOSTNAME
     83      #echo "WARN less than 700 left on /raid10 on node "$HOSTNAME" ("${diskusage[3]}")"
     84      printprocesslog "DISK less than 700 left on /raid10 on node "$HOSTNAME" ("${diskusage[3]}")"
    8585      #df -h /raid10
    8686      finish
  • trunk/DataCheck/Transfer/ZipRawData.sh

    r17590 r17617  
    7575      if [ ${diskusage[3]} -lt 10000000 ]
    7676      then
    77          echo "WARN less than 10 GB left on /loc_data on data " >> $logfile 2>&1
    78          printprocesslog "WARN less than 10 GB left on /loc_data on data "
     77         echo "WARN less than 10 GB left on /loc_data on data ("${diskusage[3]}")" >> $logfile 2>&1
     78         printprocesslog "WARN less than 10 GB left on /loc_data on data ("${diskusage[3]}")"
    7979         finish
    8080      fi
Note: See TracChangeset for help on using the changeset viewer.