This script control disk partitation that you choose then if disk size is greater than %80, it will send an warning email. It uses sendEmail application for sending email.

You can download the sendEmail below link


After adding it crontab, you can keep your system under control.Such as checking for every 5 min , you can add below line to crontab