On 27/10/14 11:47, Antony Stone wrote:
On Monday 27 October 2014 at 14:32:39 (EU time), Frantisek Hanzlik wrote:
Please, what is best way for determining who squid clients (their
PC IP addresses) have which downloads active?
I want it to determine which clients burden our slow internet line.
Examining 'access.log' does not help much in this case, because users
can download large files and it may take a few minutes or hours (e.g.
in case of consuming some audio/video streams).
I would use the tool 'iptraf', either running on your squid server, or on a
machine which can sniff your internal network traffic (possibly with the use of a
spanning port on the switch).
That can give you real-time bandwidth measurements per IP address.
I use this script:
http://samm.kiev.ua/sqstat/
Set it to auto-update on 15/15 seconds, for example, and you'll
have a great and easy way to evaluate active connections and high
bandwidth use connections.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@xxxxxxxxxxxxxx
My SPAMTRAP, do not email it
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users