scripting using info of quota usage

Anonymous anonymous at easysw.com
Mon Oct 24 08:17:34 PDT 2005


Thank you very much.

But is there any way that I can know quota usage of different users? Cause I want to send out warning emails when the quota is reached. That means I need to use such information in the script.


> Anonymous wrote:
> > The cups was installed by root. And cupsd is run by root too. Is it
> > the correct way?
>
> Yes.
>
> > To test whether the quota works, I logged in as a normal user. It
> > printed. But all the files in /var/spool/cups/ are owned by root. It
> > is said that the quota works for each user based on last non-zero
> > number of /var/spool/cups/c0000#. If every file is owned by root, how
> > does cupsd determine the usage of quota of different users?
>
> cupsd does its own calculations based on the owner of the job,
> separate from any OS-supported disk quotas.
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Publishing Software        http://www.easysw.com





More information about the cups mailing list