[squid-users] how to obtain info about actual active downloads?
Amos Jeffries
squid3 at treenet.co.nz
Mon Oct 27 23:21:10 UTC 2014
-----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).
>>
>> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUTtNmAAoJELJo5wb/XPRjgRMH/iBjkuYP/8Ri3sULxNMtQfNz
bEoOVL45ts2PwS3tLpo5p6zXeQRBy+wMpH6urjRIbObw0NP2aGQzlG4dowk/WSeE
4TA4+4f+u5f2roY4Lx+Jt0e5ndDvCb/XP7afcyO3kMhCN26Ns+OmKCj3CndHzUHT
H4OLhOzsSOXqv2rLzje0+NttgjveLG+7AsxOVzBsRUQWUduq4Z09igqn/UolfkPn
lK/6E6a3J5/4n9/mAamxep6vc2SIihBQ2NP4jnzsSLuoblqRnGBgaGRr+7/q0+uB
Mx8BY4g/lPSNa5arTRoyniGe/Q3LmlXk/fv1tWGnsSQdgh2WK5kVNVyPZI3ZV1E=
=iy8M
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list