[lug] User Monitoring

Sean Reifschneider jafo at tummy.com
Mon Sep 26 16:28:03 MDT 2005


On Thu, Sep 15, 2005 at 04:25:38PM -0600, dave at evad.info wrote:
>Is there any nice tools out there that does not require SNMP to report how much
>bandwidth and disk space a user uses in a day or so?

Disc space is fairly easy, just scan the disc and either report on files
owned by them or files in their directories.  The former will miss files
that they've chowned to another user (if you are allowing them to do that),
the latter will miss files placed in /tmp, etc...

Bandwidth used by each user is going to require that you use iptables
"owner" match and pull stats from the iptables rules.

Sean
-- 
 Now let's get this thing on the hump, we've got some flying to do!
                 -- Major Kong, _Dr_Strangelove_
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability




More information about the LUG mailing list