[svlug] How bigs my home

Emmanuel Mayssat emmanuel_mayssat at lynceantech.com
Thu Oct 22 10:35:15 PDT 2009

james at linuxrebel.org wrote:
>   What I'm looking to do eventually will be to alert space hogs that they
> need to trim back.  I'm trying to  avoid the blank stare one gets when a
> developer finds out his/her data is lost because it exceeded the
> available drive space (*grin*)
Isn't that why quotas are for?
You should have soft quota setting (email is sent) and hard quotas once 
(stop writing)

To do it your way, you need to create a cron job.
To optimize it, you can look at the modification date of files to 
identify which ones have changed size.
(find mtime ?)
Then compute the delta from previous calculation.

Emmanuel Mayssat

More information about the svlug mailing list