The installation commands are as follows:
yum -y install libpcap libpcap-devel ncurses ncurses-devel gcc
cd /root
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
Once complete, just execute:
iftop -n -i eth1
Please note that your server may not be running on eth1, you may need to adjust this accordingly.
For quicker use, you could also create an alias to avoid typing the whole command. For example, if your server is running on eth1:
echo "alias iftop='iftop -n -i eth1'" >> /root/.bashrc
You'll then need to exit your SSH session and re-login. Following this, you will be able to use iftop to monitor your network traffic.
Most Popular Articles
Changing the timezone
If you're like us, you'll want your server's timezone to match your local time to make log...
Finding the largest files and directories
This nifty command allows you to built up a list of the largest files and...
Find where a process is running from
You may see a process running and wonder exactly where it's running from. Fortunately, there's a...
Installing and using Strace
Strace is a Linux command that allows you to follow what a process on your server is doing. Let's...
Quickly and easily finding the source of emails in Exim
Ever found yourself in the position where there are hundreds, or perhaps, thousands of emails...