> -----Original Message-----
> From: Pedro Zorzenon Neto [mailto:pzn@terra.com.br]
> Sent: Monday, February 07, 2005 1:41 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] measuring bandwidth of squid clients
>
>
> Hi,
>
> If I have several machines (about 40) using squid as a proxy, this
> way:
>
> 192.168.1.2 ---+--- 192.168.1.1 (squid)
> 192.168.1.3 ---+
> 192.168.1.X ---+--- 192.168.1.254 (iptables NAT) ------ external link
> 192.168.1.40 --+
>
> I'd like to get from squid statistics about traffic rates between
> 192.168.1.2 to 192.168.1.40 and 192.168.1.1:3128.
>
> Do you have any hint? Is squid able to show data rate statistics?
>
> I need data rate of the current second, but if not possible, of the
> ten last seconds...
>
> Thanks in advance,
> Pedro
If your squid.conf has the default access for cachemgr, then from the
command line of your squid server you can run "squidclient
cache_object://localhost/utilization" which will give you statistics
averaged over the last 5 minutes, 15 minutes, 1 hour, 8 hours, 1 day, 3 days
and overall. If this is not good enough, a utility like iptraf
(http://iptraf.seul.org/) is capable of what you are asking for.
Chris
Received on Mon Feb 07 2005 - 13:43:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST