Installing and using iftop Print

  • 8463

The installation commands are as follows:

yum -y install libpcap libpcap-devel ncurses ncurses-devel gcc
cd /root
tar -zxvf iftop-0.17.tar.gz
cd iftop-0.17
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.

Was this answer helpful?

« Back

We're trusted by amazing customers in 136 countries - come & join us!
OR.S May 10, 2024
Excellent host

Excellent host. Prompt replies in good, clear English, easy migration from HG, good speed, all necessary info provided on sign up (ftp, logins etc) error free. Highly recommended.

Christopher James May 1, 2024
I'm very pleased

Affordability, reliability and great customer service. I hos ted my website here. George built something that will potentially be big.

Paola Meyer April 13, 2024
Customer Attention is 5 Stars

Customer Attention. Staff of Ethernet Servers is superb, fast and answers tickets in a pretty speedy manner.

stxsh February 17, 2024
Excellent Provider with Exceptional Support

Been with them for a week and the transition from old hostin g to ethernetserver has been nothing but a joyful experience. Setting up new vps, networking is like a breeze. All set up by george and nothing to worry about really.

Ethernet Servers Ltd
124 City Road
United Kingdom

Registered Limited Company: #09114946

+44 330 043 1258


Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 136 countries since September 2013!