On Wed, 2003-03-26 at 22:01, Kim Jensen wrote: > On Wednesday 26 March 2003 20:32, Alexandru Coseru wrote: > > Hello.. > > > > I want to see using iptables -L -v the ammount of traffic generated by > > each of my LAN's IP.. > > > > i have masq 192.168.0.2 to 192.168.0.50... > > > > and now i want to see the traffic generated by 192.168.0.4 since the last > > reset of counters.. > > > > How can I do that ? I want to be able to see the download and the upload > > ... > > > ifconfig ifconfig is the worst alternative, because it regularly resets its counters. As Rowan suggested, use MRTG [1] or some other tool (RRDtool [2], perhaps? :) to read the statistics. You may use MRTG with an SNMP daemon on your system or with an iptables extract script [3]. Hope this helps; Bjørn [1] http://www.mrtg.org/ [2] http://www.rrdtool.org/ [3] http://www.norris160.org/cisco/MRTG_Monitor_Software.htm