Ignore:
Timestamp:
05/13/13 10:43:34 (12 years ago)
Author:
Daniela Dorner
Message:
moved diskusage check to function and implemented it also in loop
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/QuickLook/Step1.sh

    r15558 r15591  
    6666   diskusage=( `df -P /raid10 | grep raid10 ` )
    6767   # check if more than 700 GB are left on /loc_data
    68    if [ ${diskusage[3]} -lt 800000000 ]
     68   if [ ${diskusage[3]} -lt $disklimitdaq ]
    6969   then
    7070      echo "WARN less than 700 left on /raid10 on node "$HOSTNAME
     
    9898   # only continue with script
    9999   #  when there is more than 10% space on daq
     100   source `dirname $0`/../Sourcefile.sh
    100101   check_daq
    101102   
Note: See TracChangeset for help on using the changeset viewer.