filespace usage
Andrew Morgan
morgan at orst.edu
Thu May 27 12:09:44 EDT 2004
On Thu, 27 May 2004, Philip Chambers wrote:
> I am writing a utility to give me a list of filespace usage for all my cyrus users.
> This will be run by cron overnight. Clearly I can just go through all the
> partitions and do a "du -sk" at each user's root directory.
>
> However, since cyrus has a quota facility it seems likely that cyrus must record
> each user's current usage somewhere. I have had a quick look at the code, but it is
> not obvious to me where that information is stored. Can someone point me to where
> cyrus stores user filespace usage?
Try:
su cyrus -c '/usr/local/cyrus/bin/quota'
Or wherever you copy of Cyrus' quota command is kept.
Andy
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list