dan wrote:
> put this basic script in your cron to run once daily
>
>     df -h|grep /thedirectory|awk '{print $5" used on the "$6"
>     mountpoint, "$4" available"}'|mail youusernamei get this output
>     mailed to me
>
Hey, that's great :-) ... it's going into crontab right away!
>
>     38% used on the /shared mountpoint, 174G available 
>
>
> its simple but effective.  this is an old version, i have since moved 
> to a more complex script to only mail me over 80%
>
> i will put this on the wiki
> http://backuppc.wiki.sourceforge.net
You guy's are really responsive, thanks a lot.
Btw. I like the idea of a backuppc wiki very much !

Regards, Peter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to