Where does CUPS store kB and page countaccounting information?

Paul paul.varkey at gmail.com
Wed Nov 7 15:02:14 PST 2007


> It's in the /var/spool/cups/c* files.  The scheduler (cupsd) then
> maintains an internal cache of the data for each user and
> printer, keeping a running tally of the pages and kilobytes printed.
>
> The job-media-sheets-completed and job-k-octets attributes contain
> the pages and kB, respectively.
>
> --
> ______________________________________________________________________
> Michael R Sweet                        Senior Printing System Engineer
>

Since this "internal cache" has to be persistent across machine or daemon restarts (i.e. the page and kB counts are persistent), cupsd has to write these to disk at some point. Are you, probably, suggesting that the only information that is persistently stored by cupsd is in the /var/spool/cups/c* files?

Thanks,
Paul




More information about the cups mailing list