iftop show bandwidth usage like top show cpu and memory usage.
First install required software.
yum install libpcap libpcap-devel ncurses ncurses-devel
Now install iftop. Make sure you download latest version from visiting the site http://www.ex-parrot.com/pdw/iftop/
cd /usr/local/src
wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
tar -zxvf iftop-0.17.tar.gz
cd iftop-0.17
./configure
make && make install
By default iftop monitor eth0. To monitor traffic on eth1, run
iftop -i eth1
No comments:
Post a Comment