Monitoring your network with iftop

iftop is a really cool util to monitor your network with and you can get a lot info on a near live basis. Here is one of the uses I have for it when checking on DSL traffic.

iftop -P -i eth0 -f "not host 10.1.1.11 and not host 10.1.1.8 and not net 10.1.0.0/24"

which basically will get you all traffic on eth0 except where the source or destination host is not 10.1.1.11 or 10.1.1.8 and the subnet is not 10.1.0.0/24 (helpful on multihomed servers).

Enjoy

/var/customers/webs/cw01/wiki/data/pages/network/monitoring_with_iftop.txt · Last modified: 2012/06/20 14:53 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki