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