disknag

Section: Applications/System (8), Updated: 0.2

NAME

disknag - Monitor a directory with per-user entries and report findings.

SYNOPSIS

disknag [-c location] [-d]

DESCRIPTION

Disknag is a small "virtual quota" application for monitoring locations with per-user entries and logging the findings in syslog. It also has a feature of notifying the user if they are found over their limit for a set number of days. Then, if the user didn't correct themselves in time, a message will be sent to the administrator about the problem.

This is useful for things like user inboxes or public_html directories if they are stored outside of the user's HOME. Putting quota limitations on user inboxes can be tricky, since you don't want to lose data or cause inbox corruption if the hard quota is hit.

LIMITATIONS

It is important to note that this isn't a real quota application. When you specify a directory in the config file, disknag will only check the owner of each top-level subdirectory, and assume that all files in it will be owned by the same user, so it's pretty limited. It is, effectively, a du(1) with style.

It is probably unwise to use this on huge amounts of data, as it will cause quite a bit of disk thrashing during each run, and if you have gigabytes upon gigabytes, you will routinely max out the disk IO.

FILES

EXAMPLES

disknag
disknag -c my.conf -d

AUTHORS

Konstantin Ryabitsev <icon.at.linux.dot.duke.dot.edu>

SEE ALSO

du(1)

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [TXT] SHA1SUM.asc 20-Apr-2005 16:17 297 [   ] disknag-0.3-1.src.rpm 20-Apr-2005 16:17 10K [   ] disknag-0.3.tar.gz 20-Apr-2005 16:17 7.2K [DIR] old/ 20-Apr-2005 16:17 - [TXT] rpm-key.asc 20-Apr-2005 16:18 1.4K
Apache/2.0.52 (CentOS) Server at www.linux.duke.edu Port 80