[ILUG] Squid log analysis
Smith, Graham - Computing Technician
Graham.Smith at it-tallaght.ie
Mon May 13 11:30:10 IST 2002
You could set up some mrtg graphs (see wwww.mrtg.org)
with seperate graphs pointing to various points on your
network. For example set up one to show traffic at your
router to your ISP and another graph of traffic requests from
your workstations. A comparison of the two graphs would
be the traffic that coming from the squid cache, and give you
a fairly decent guide of how efficient your cache is.
Department of Computing,
Institute of Technology,
Tallaght, Dublin 24
Phone: + 353 (01) 4042840
From: Breathnach, Proinnsias (Dublin)
[mailto:breatpro at exchange.ie.ml.com]
Sent: 13 May 2002 10:43
To: 'ilug at linux.ie'
Subject: RE: [ILUG] Squid log analysis
Kinda hard to assess really, how long is a piece of string ?
You could, of course, count the cache hits, and multiply their size, by
their frequency etc ... but that doesn't really give an answer, as there's a
human factor ... bandwidth usage may well have _increased_ because you're
using squid (or any other cache), people will use the internet more often if
it's responsive, when it's not, they go back to doing things the old way !
The only real way is to turn off the cache for a week, keep stats, turn it
on and keep more stats ... and even that won't answer you !
> -----Original Message-----
> Are any of you doing this ? I've been asked to get a feel for what squid
> saving us in bandwidth usage. A google for the subject of this message
> brings up a page on the squid site with a shed load of scripts. I've
> at Calamaris which is comprehensive and at a small Perl program called
> Squid-log-Analyser which seems rather simplistic, but neither of them do
> what I need i.e. answer the question
> "How much more bandwidth would have been consumed last month if we hadn't
> been using squid ?"
> Anyone else asking (and answering :-) ) that question ?
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
More information about the ILUG