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

Reply via email to