Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 17:31:24 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        "Paul S. Puth" <pputh@oanet.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: looking for warn quota tools
Message-ID:  <Pine.NEB.3.96L.1020611173027.14838E-100000@fledge.watson.org>
In-Reply-To: <5.1.0.14.0.20020611152151.00acbb30@pop.oanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I always just used the following script in the /etc/csh.login:

#if ("`quota | grep '\*'`" != "") then
#   echo Warning: Quota Exceeded:
#   quota
#endif

Given that the output of the quota command is fairly parseable, a little
bit of scripting or perl should do the trick.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories

On Tue, 11 Jun 2002, Paul S. Puth wrote:

> Hi,
> 
> I am looking for a tool that will email to the user if his/her account 
> (more specifically email box) is approaching quota limit. I've searched 
> everywhere for such a tool but to no avail.
> 
> On Linux, there is a tool called "warnquota" that fits my need but I am 
> running FreeBSD 4.5 -RELEASE so I can't utilize that tool. Also, from 
> searching on google, I've found a tool called "psntools" that has the 
> warnquota feature but it doesn't work on a filesystem that has a mailspool.
> 
> Can someone help me?
> 
> Thanks,
> 
> Paul
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020611173027.14838E-100000>