On 24 April 2013, at 18:53, Michael Hampicke wrote:
>> ...
>> Your system must be more complex than I'm imagining, because I see this 
>> obvious answer of a bash script which loops through /home/*, runs `du` or 
>> `df` and sends an email to anyone who's consuming more than 90%. Obviously 
>> this needs to be adapted to circumstance. 
> 
> That only works on small systems. I have systems here where a 'du' on
> /home would take hours and produce massive IO wait, because there's so
> much data in there.

Of course. Excuse me.

My original idea was in respect of the previous respondent's desire to offer 
hard limits of a gigabyte - allocating each user a partition and running `du`, 
which returns immediately, on it.

I don't understand how a hard limit could be enforced if it's impractical to 
assess the size of used data.

Stroller.


Reply via email to