Amos Jeffries wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 28/10/2014 5:37 a.m., Leonardo Rodrigues wrote: >> 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).from >>> >>> 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. >> > > > There is also the cachemgr interface for Squid. The "active_requests" > report lists the currently underway transactions. > > Amos Amos, thanks for this information. From Leonardo recommended 'sqstat' PHP script from Alex Samorukov about doing what I need. I'm not a programmer, and I would have had a problem write such a program. And from my very quick view, I not found useful informations about cachemgr interface, searching for 'cachemgr' at http://www.squid-cache.org/ return nothing and searching at http://wiki.squid-cache.org/ return reference to http://wiki.squid-cache.org/ProgrammingGuide/CacheMgrApi , but it seems as there are only some basest informations. (which does not matter, I did not know how to program it anyway) Thanks, Franta Hanzlik _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users