Re: Get cyrus-imap folder size without "du" tool

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

 



Gavin McCullagh wrote:
> Hi,
>
> On Thu, 01 Apr 2010, David Touzeau wrote:
>
>   
>> This problem occurs when you have more than 50Go mailboxes
>> If you launch a "du -h -s /var/spool/cyrus/mail" the server load is on 
>> top and I/O is at 100% for a long time.
>> Is somebody have a tips to get the size status of all maiboxes without 
>> using du tool even no quota is specified ?
>>     
>
> sudo -u cyrus /usr/lib/cyrus-imapd/quota | awk '{ tot+=$3} END { print "Total="tot }'
>
> (your path to the quota program might vary).
>
> Gavin
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>   

Thanks for the answer but cyrquota  generates  a  report  listing  quota 
roots but when you have no quota it report no information.


----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux