The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Automatic monitor disk-space
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Automatic monitor disk-space
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
03-01-2004
karthi_tvr
Registered User
Join Date: Mar 2004
Location: Singapore
Posts: 5
Hi
Thres=90
df -k | grep -v File | while read FS SZ US AV PER MNT
do
PER1=`echo $PER | awk -F"%" '{print $1}'`
if [ $PER1 -gt 89 ]; then
mail_user "Filesystem $FS is $PER1 percent full"
done
karthi_tvr
View Public Profile
Find all posts by karthi_tvr
Find karthi_tvr's past nominations received
Find karthi_tvr's present nominations given