Search squid archive
Re: Program for realtime monitoring
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 11/04/2012 5:08 p.m., CyberSoul wrote:
Hi all, could anyone give me suggestion for utilite or script realtime monitoring for Squid, which can do the following requirements: 1) work through web-inteface 2) show current connection speed and username ( or ip) 3) show the full path of the file that is currently downloaded or browsing For example, I open browser and go to the address http://ip-address-squid/program-for-realtime-monitoring and I can see about the following columns (for example) № Username (or IP) Current connection speed URL 1 user1 (192.168.1.17) 145 KB/s http://uk.download.nvidia.com/XFree86/Linux-x86/295.33/NVIDIA-Linux-x86-295.33.run 2 user2 (192.168.1.53) 89 KB/s http://www.centos.org/modules/tinycontent/index.php?id=2 Any ideas?
NP: You can't get connection speed out of Squid as such. Just average delivery speed, based on request duration so far and bytes sent over that time.
The cache manager active_requests report contains the info you want, but in a slightly different format. A script which pulls that report and processes it for display should be all you need.
[Linux Audio Users] [Photo] [Yosemite News] [Samba] [Video Projectors] [Video Devices] [Big List of Linux Books] [LCD TVs] [Webcams] [Linux USB]