Read/Write size

angelb angelb at bugarin.us
Thu Mar 8 13:29:26 PST 2007


> angelb wrote:
> > Hello all.
> >
> > I'm testing a CUPS server and noticed the following after printing
> > a 3Kb file. Server is set at debug.
> > ...
> > What's with the 8Kb Read/Write entries? Is there a way to accurately
> > determine the total size sent to the printer?
>
> Count them up - you'll notice that the last entry is 1374 bytes -
> the backend is using an 8k buffer...
>
> --

Ok, I got 3435 bytes, 33 bytes over the actual file size.

Forgive my ignorance; how would one actualy add this up to get
the correct size? Is this possible just by looking at the current
log or do I need to trace it and get info from the IP/TCP headers?

Thanks!
Angel




More information about the cups mailing list