Re: Squid byte-count reporting...

From: Michael Pelletier <>
Date: Mon, 18 May 1998 09:40:34 -0400 (EDT)

On Wed, 29 Apr 1998, Dancer wrote:

> This would seem to be consistant with squid's logging methodology, ie:
> An item is only logged at the completion of the transaction with the
> client.
> If we're just talking generic byte-counters, then (IMO) it's not too
> hard to increment them at the point that they are written to the
> data-pipes.

Yes, that's what I'm looking for - just the byte counters, so that
MRTG gets an up-to-the-minute picture of the data transfers.

Looks like the "proto_touchobject()" function is what's needed. I'll
delve into it a little further and see what I can come up with.

        -Mike Pelletier.
Received on Mon May 18 1998 - 06:43:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:13 MST