#!/bin/bash

diskusage=( `df /loc_data | grep /loc_data` )
# check if more than 100 GB are left on /loc_data
if [ ${diskusage[2]} -lt 104857600 ]
then
   echo "WARN less than 100 GB left on /loc_data on node "$HOSTNAME
fi

