Re: Monitor file system free space
- From: Γιώργος Πάλλας <gpall@xxxxxxxxxxx>
- Date: Tue, 22 Dec 2009 16:00:02 +0200
mark@xxxxxxxxxxxx wrote:
I had a problem with my (small) disk filling up and crashing my mail
server. So, I wrote a simple perl script to take the output of 'df -h'
and look for a % full that is greater than 97% and send me an e-mail if
the % is greater than 97. I run the script daily from crontab. It works
fine.
Yesterday I downloaded an iso image (which brought the file system fill
from 93% to 100% so that the mail server could not send me the e-mail
warning. Is there another way to approach this problem (a different
tool?)so that I can be notified BEFORE the file system is too full?
Thanks for any thoughts,
Mark
Hello Mark!
A general solution is to have your user's home directories (/home/user1, /home/user2) on a separate partition. This way, when you fill it, no system process will crash...
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- References:
- Monitor file system free space
- From: mark
- Monitor file system free space
- Prev by Date: Monitor file system free space
- Next by Date: Re: USB disk shows up late at boot
- Previous by thread: Monitor file system free space
- Next by thread: Re: Monitor file system free space
- Index(es):
Relevant Pages
|