- Timestamp:
- 11/19/11 02:24:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/CheckDU.sh
r12554 r12558 8 8 9 9 diskusage=( `df -P $dir | grep $dir ` ) 10 # check if more than 100 GB are left on /loc_data 11 if [ ${diskusage[3]} -lt 104857600 ] 10 # check if more than X GB are left on /loc_data 11 if [ ${diskusage[3]} -lt 209715200 ] # 200 GB 12 #if [ ${diskusage[3]} -lt 104857600 ] # 100 GB 12 13 then 13 echo "WARN less than 100 GB left on /loc_data on node "$HOSTNAME14 echo "WARN less than 200 GB left on /loc_data on node "$HOSTNAME 14 15 fi 15 16
Note:
See TracChangeset
for help on using the changeset viewer.