Press enter to see results or esc to cancel.

Disk Bilgilendirme Script ‘i

#!/bin/bash
# Belirlediginiz degerlerin ustune cikarsa uyari maili atar
# Murat Ugur EMINOGLU | fedoraturkiye.com | 01.10.2007
# Version unknown
DF=`/bin/df | grep -E “85%|90%|95%|99%” > /tmp/disk`
EPOSTA=”murat@fedoraturkiye.com”
COUNT=0
if [ $COUNT -eq `cat /tmp/disk | wc -l` ]; then
exit
else
mail -s “Disk Bilgilendirme Mesaji” $EPOSTA < /tmp/disk
fi
Sevgiyle.