in reply to Re: Monitoring disk usage
in thread Monitoring disk usage

I wish I could use quotas. But, it seems that quota is somehow unstable on Redhat 9 and a Dell PE600SC. I have to come up with a work around as I haven't yet been able to determine the instability problem.

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re: Re: Re: Monitoring disk usage
by tachyon (Chancellor) on Mar 05, 2004 at 17:01 UTC

    Why not just use rpm to remove your current install of quota and re-compile it from source, unless it is a kernel bug it should either run stable or die on compile? There is a perl Quota module BTW but that is just an interface onto quota AFAICT.

    You might like this:

    There are four major species of Unix sysad

    1. The TECHNICAL THUG. Usually a systems programmer who has been forced into system administration; writes scripts in a polyglot of the Bourne shell, sed, C, awk, perl, and APL.
    2. The ADMINISTRATIVE FASCIST. Usually a retentive drone (or rarely, a harridan ex-secretary) who has been forced into system administration.
    3. The MANIAC. Usually an aging cracker who discovered that neither the Mossad nor Cuba are willing to pay a living wage for computer espionage. Fell into system administration; occasionally approaches major competitors with indesp schemes.
    4. The IDIOT. Usually a cretin, morpohodite, or old COBOL programmer selected to be the system administrator by a committee of cretins, morphodites, and old COBOL programmers.

    How To Identify Your System Administrator (a field guide)

    SITUATION: Low disk space

    TECHNICAL THUG: Writes a suite of scripts to monitor disk usage, maintain a database of historic disk usage, predict future disk usage via least squares regression analysis, identify users who are more than a standard deviation over the mean, and send mail to the offending parties. Places script in cron. Disk usage does not change, since disk-hogs, by nature, either ignore script-generated mail, or file it away in triplicate.

    ADMINISTRATIVE FASCIST: Puts disk usage policy in motd. Uses disk quotas. Allows no exceptions, thus crippling development work. Locks accounts that go over quota.

    MANIAC:

    # cd /home # rm -rf `du -s * | sort -rn | head -1 | awk '{print $2}'`;

    IDIOT:

    # cd /home # cat `du -s * | sort -rn | head -1 | awk '{ printf "%s/*\n", +$2}'` | compress

    More at http://www.gnu.org/fun/jokes/know.your.sysadmin.html

    cheers

    tachyon

      I almost died laughing...and noticed I'm a crude mixture of a maniacal, fascistic, technical thug...thank god I never use compress ;-D

      regards,
      tomte


      Hlade's Law:

      If you have a difficult task, give it to a lazy person --
      they will find an easier way to do it.

        Like all humour it really hits a few nails on the head. I would classify myself similarly, probably with a maniacal technical thug bias ;-)

        The funniest thing this week for me was merlyns hidden vi mode response to my vi taster.

        cheers

        tachyon

Re: Re: Re: Monitoring disk usage
by ambrus (Abbot) on Mar 05, 2004 at 18:03 UTC

    Are you using reiserfs? Because as of now, linux's quota support does not work for reiserfs. (So bad it's like that, we'll have to wait till it comes out, and till then, use ext2 for disks with quota.)