meaning of out.size in cache_object://localhost/active_requests

From: Rolf Dergham <rode@dont-contact.us>
Date: Mon, 25 Jun 2007 01:22:30 +0300

How are the out.size and out.offset statistics calculated?
I am trying to track the bandwidth used by squid downloads. I wrote a
script that I called "Squid download monitor". This script uses the
value of out.size to calculate the bandwidth used by every squid
request, assuming that out.size is the amount of bytes already
downloaded for the requested object.
Am I right in this assumption?
The reason I'm asking is that my script seems to work fine most of the
time but sometimes outputs odd values, like negative bandwidth values
(which should never happen)

Thanks a lot
Rolf
Received on Sun Jun 24 2007 - 16:43:40 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:07 MDT