#!/bin/bash
FS=dumps
USAGE=`df | grep $FS | awk '{ print $4 }' | sed "s/%//"`
PERCENT=90
if [ $USAGE -gt $PERCENT ]
then
echo $FS Filesystem on NetApp has reached "$PERCENT"% capacity
fi
FS=dumps
USAGE=`df | grep $FS | awk '{ print $4 }' | sed "s/%//"`
PERCENT=90
if [ $USAGE -gt $PERCENT ]
then
echo $FS Filesystem on NetApp has reached "$PERCENT"% capacity
fi
No comments:
Post a Comment