Changeset 12932
- Timestamp:
- 02/23/12 16:42:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/CheckDU.sh
r12642 r12932 9 9 # get current hour 10 10 hour=`date +%k` 11 # define bwlimit for rsyncdepending on the time12 if [ $hour -lt 10 ] || [ $hour -gt 18]11 # define disk space limit for check depending on the time 12 if [ $hour -lt 8 ] || [ $hour -gt 15 ] 13 13 then 14 # check 200 GB 15 dulimit=209715200 16 dutext="200 GB" 17 else 14 ## check 200 GB 15 #dulimit=209715200 16 #dutext="200 GB" 18 17 # check 500 GB 19 18 dulimit=524288000 20 19 dutext="500 GB" 20 else 21 ## check 500 GB 22 #dulimit=524288000 23 #dutext="500 GB" 24 # check 1 TB 25 dulimit=1048576000 26 dutext="1 TB" 21 27 fi 22 28
Note:
See TracChangeset
for help on using the changeset viewer.