Squid logs all the traffic involved with each client and it is logged in
access.log. You can run a simple awk script to calculate the data given out
to the client. Another method would be to use kernel accounting on  a per
IP basis, depends what OS you are using. 

Irfan Akber

----------
> From: Arseny M. Rubanovich <[EMAIL PROTECTED]>
> To: Squid Questions <[EMAIL PROTECTED]>
> Subject: Count traffic
> Date: Thursday, April 08, 1999 2:21 PM
> 
> Hi all!
> 
> I have some problem with count traffic of my net. I use daemon "trafd"
(bpf)
> and this daemon count all packets. But I can't count web traffic - cos my
> users use proxy, and "trafd" see all packets from proxy but not from
users.
> Question!?
> How I can count web traffic (by every user) using logs from squid's log
> files. Or may be you know more effective sollution.
> 
> Thank all

Reply via email to