for
squidmon.py:
Code:
permailink# cat /var/log/squid/access.log | python /tmp/squidmon.py
cache effect: 23.94%, save 21076526.34K of 88039059.78K
most accessed sites (by traffic)
URI Kbytes Ratio
images.vdream.com 4029620 2.89
profile.ak.fbcdn.net 3699843 34.15
Welcome to Facebook - Log In, Sign Up or Learn More 3631505 0.52
194.44.214.3 1883518 0.00
v18.lscache3.c.youtube.com 1513698 28.04
definitions.symantec.com 1207585 0.00
202.93.17.196 1178063 0.03
v4.lscache2.c.youtube.com 1165743 91.43
creative.ak.fbcdn.net 886492 90.06
ftp.runnet.ru 869702 0.00
safebrowsing-cache.google.com 845816 87.75
cityvillefb.static.zgncdn.com 757020 91.41
82.193.109.83 732444 0.06
v5.lscache4.c.youtube.com 653566 88.21
facebook.vdream.com 632247 9.08
static.ak.fbcdn.net 592721 94.96
s.kaskus.id 575466 49.26
Google 541200 21.18
assets.millionairecity.com 499640 81.39
v19.lscache3.c.youtube.com 457584 92.39
v12.lscache3.c.youtube.com 450989 94.28
bacamanga.web.id 445515 11.07
v3.lscache2.c.youtube.com 440984 61.56
statics.poker.static.zynga.com 416420 93.57
download524.media*fire..com 391135 0.00