From owner-freebsd-questions Wed Jun 18 19:50:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA28925 for questions-outgoing; Wed, 18 Jun 1997 19:50:13 -0700 (PDT) Received: from tangelo.lal.ufl.edu ([204.199.163.200]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id TAA28675 for ; Wed, 18 Jun 1997 19:41:32 -0700 (PDT) Received: from bates-dialup (204.199.163.191) by tangelo.lal.ufl.edu (EMWAC SMTPRS 0.81) with SMTP id ; Wed, 18 Jun 1997 22:32:35 -0400 Message-ID: From: "Brad Bates" To: "Shaun" , "Justin Ashworth" Cc: Subject: Yes, but...Re: out of disk space Date: Wed, 18 Jun 1997 22:25:03 -0400 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Not to short-change your program Shaun, which I am sure works as advertised, but... Would not a cron job that does this every minute suffice in most cases? Am I missing something here (I don't do windows if I can help it)? A short and quick look/parse of df(1) via cron would probably do in most situations, and not load things down very much, no? Short of some "look-ahead" scheme for the file system in question I can't imagine response times exceeding a minute-by-minute review with alerts and such handling the notifications, and I would not want to think about writing the aforementioned look-ahead routine for all cases of a disk-write action. e.g. If file system used percentage exceeds threshold Then Send alert Else Sleep/exit/die Endif Would not a daemon would work as well? Is there not an old one laying around from System ? days out there? bab ---------- > From: Shaun > To: Justin Ashworth > Cc: questions@FreeBSD.ORG > Subject: Re: out of disk space > Date: Wednesday, June 18, 1997 7:50 PM > > On Wed, 18 Jun 1997, Justin Ashworth wrote: > > Has anybody ever heard of a daemon that would can notify a sysadmin via > > e-mail if the diskspace hits a certain percentage? I'd need to know > > immediately, so a cron job is out of the picture. > > If you are running X with the XView libraries installed you can > use my disktool program. It can be setup to run any program of your > choice or a script when any partition it is monitoring hits a user > defined critical amount of disk space available. > > You can check it out and download it from: > > http://www.thecore.com/~sfinn/disktool.html > > +------------------- http://www.download.net ----------------------+ > | Shaun M. Finn TechnoCore Communications, Inc. | > | sfinn@thecore.com P.O. Box 106 | > | (732)928-7400 FAX:(732)928-7402 Jackson, NJ 08527-0106 | > +------------------- http://www.thecore.com/ ----------------------+