Changeset 12554


Ignore:
Timestamp:
11/18/11 04:27:53 (13 years ago)
Author:
Daniela Dorner
Message:
bufix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/CheckDU.sh

    r12548 r12554  
    11#!/bin/bash
    22
    3 diskusage=( `df /loc_data | grep /loc_data` )
     3dir=/loc_data
     4if [ "$HOSTNAME" == "daq" ]
     5then
     6   dir=/raid10
     7fi
     8
     9diskusage=( `df -P $dir | grep $dir ` )
    410# check if more than 100 GB are left on /loc_data
    5 if [ ${diskusage[2]} -lt 104857600 ]
     11if [ ${diskusage[3]} -lt 104857600 ]
    612then
    713   echo "WARN less than 100 GB left on /loc_data on node "$HOSTNAME
Note: See TracChangeset for help on using the changeset viewer.