Fred K Ollinger on Fri, 3 May 2002 11:33:12 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] /var partition full


I don't know of any tool, but, hey this is unix. you could write on in
five min. Just use cut in shell to grap the field in df where you have the
size and compare to 100 (or 90), then use mail to email you. I have a
similar program in perl to tell me when the daemon I'm beta testing dies.

If you need some more help, post the script and I'll help out. I'm best in
perl, but sh would work great, python is also good.

Drop the script in /etc/cron.hourly (make sure root can run).


Fred Ollinger (follinge@sas.upenn.edu)
CCN sysadmin

On Fri, 3 May 2002, W. Chris Shank wrote:

> warning: this may be a repost
>
> my /var partion on a RH7.2 box filled up yesterday - as a result, dhcpd
> stopped. it was cause the root mail file was 330M. what can i do to prevent
> this from happening again? and is there a tool that will monitor partitions
> and notify me when they are approaching max capacity?
>
> thanks
>
> chris
>
>
> ______________________________________________________________________
> Philadelphia Linux Users Group       -      http://www.phillylinux.org
> Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
> General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug
>


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug