Displaying 1 result from an estimated 1 matches for "disk_monitor".
2008 Jul 28
3
script
...; then
echo "Running out of space \"$partition ($usep%)\" on $(hostname) as on
$(date)" |
mail -s "Alert: Almost out of disk space $usep" $ADMIN
fi
done
Am trying to run the above script on my machine, it gave the following error
[root at linux8 script]# ./disk_monitor.sh
./disk_monitor.sh: line 23: [: /dev/mapper/VolGroup00-LogVol00: integer
expression expected
./disk_monitor.sh: line 23: [: /: integer expression expected
Any help?
--
Your search - madunix - did not match any documents.
-------------- next part --------------
An HTML attachment was scrubbed.....