How to install and use iftop utility on Linux. This command listens to network traffic on a given interface (such as eth0 or eth1), and shows a table of current bandwidth usage by pairs of hosts.
Login as root, install iftop by the command below:
#yum -y install iftop
How do I use iftop command?
The syntax is:
iftop
iftop [options]
iftop -i interface
iftop -i eth0 -f filter_code