Automatic monitor disk-space

Hello,

I am trying to find a shell script to monitor diskspace of all the directories in the server. When the script

encounteres a disk which above the treashold, I want an email

notification.

My system runs on AIX.

Is there anybody around who can help me with such a script?

Regards

Anuradha

Welcome,
1) Click on Search and choose Advanced Search
2) Under "Search by Keyword" , type in "Disk monitoring"
3) Click on "Search Now"
4) Enjoy.

I can whip up a top-level script to monitor your disk space and send an email based on a criteria.

-Lou :b:

Hi,

you can just follow the one suggested by ghostdog74 and my point here is to use "df -kp" which will let the script use the POSIX output format so that, awk will always take the right field from df o/p.
Otherwise in conditions like when you have lengthy devive names usage of "df -k | awk..... would pickup the wrong feild and so may raise false alarms on your disk space!!

-ilan