melihat trafik akses website
tools sederhana untuk melihat performance squid anda.
Code:
cat /var/log/squid/access.log | squidmon.py
cache effect: 42.52%, save 7824845.07K of 18401478.27K
most accessed sites (by traffic)
URI Kbytes Ratio
www.facebook.com 2117584 0.07
safebrowsing-cache.google.com 1336496 95.59
statics.poker.static.zynga.com 1295017 97.55
static.ak.fbcdn.net 907988 98.63
apps.facebook.com 655102 0.57
profile.ak.fbcdn.net 646821 40.00
cdn.static.ninjasaga.com 485590 98.39
file.pb.gemscool.com 484886 87.86
video.ak.facebook.com 392778 36.01
static.farmville.com 247365 84.17
www31.indowebster.com 218099 0.00
personal.avira-update.com 209877 99.11
static.ak.connect.facebook.com 207954 98.84
www55.indowebster.com 201610 72.46
facebook.poker.zynga.com 175533 1.23
www44.indowebster.com 154451 72.62
cdnaquarium.crowdstar.com 150319 87.02
facebook.spoonville.static.zynga.com 131932 80.22
platform.ak.fbcdn.net 127412 69.82
d2syub29v5lge2.cloudfront.net 122424 96.47
www42.indowebster.com 119026 66.97
www.youtube.com 117245 0.01
www39.indowebster.com 116758 0.00
b.static.ak.fbcdn.net 104679 96.79
kelihatan yg sy tebelin bahwa squid saya dapat menghemat bandwidth sebesar 42.52%
dan client yang mengakses statics.poker.static.zynga.com 97.55% content berasal dari cache.
dan client yang mengakses statics.poker.static.zynga.com 97.55% content berasal dari cache.
informasi :
OS : ipcop
proxy versi : lusca head
mem : 2 GB
processor : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
HD : Sata 160 GB
tools ini bisa di jalankan di OS mana saja asal sudah terinstall python
untuk download tools disini
wget h++p://squidmon.googlecode.com/svn/trunk/squidmon.py
chmod +x squidmon.py
cat /var/log/squid/access.log | ./squidmon.py
yang saya tebelin sesuaikan path access.log squid anda
semoga bermanfaat.
Belum ada trackback.