[TriLUG] Over quota script

Jeff Bollinger jeff01 at email.unc.edu
Sun Sep 15 13:56:38 EDT 2002


Does anyone have any good shell scripts that warn users they are reaching
a disk quota (whether or not actual disk quotas are on or enforced)?  I'm
thinking, run du and export a text file, then grep that file for the
userids that are above a certain limit, and e-mail a canned message to the
user.  This should be something that can run from the cron.

Thanks!
Jeff

Jeff Bollinger
University of North Carolina
IT Security Analyst
105 Abernethy Hall
mailto: jeff_bollinger at unc dot edu

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzETQsACgkQvoVlxVBmgsXunQCg1Pjc14nTjWiP8FCy+NNDK97E
HMAAoIRhikBeM5Lm+6Iu/0h3MX6lDgiR
=LpiV
-----END PGP SIGNATURE-----




More information about the TriLUG mailing list