[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Directory Size

From: Kevin Chadwick
Subject: Re: Directory Size
Date: Thu, 5 Mar 2015 17:47:47 +0000

On Thu, 5 Mar 2015 17:05:01 +0100
Jan-Henrik Haukeland wrote:

> This is not possible with Monit’s ‘check directory’ (it would be a nice thing 
> to add in the future though). One way to do this now is to use ‘check 
> program’ with ‘/usr/bin/du -s <dir>’ and return a status accordingly to if a 
> threshold was reached or not
> > On 05 Mar 2015, at 16:11, Kizito Porta Balanyà <address@hidden> wrote:
> > 
> > Hello,
> > 
> > Any hint to monitor the size of a directory?
> > 
> > Googling about it doesn't return anything that I like.
> > 
> > 
> > Thanks a lot for your time.
> > 
> > Regards.

You could also use a partition and mount it to that folder and use disk
usage instead but perhaps that is one of the things you don't like? You
may be able to add mount options like noexec and nosuid though.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]