Installing and using iftop Print

  • 18209

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.

Was this answer helpful?

« Back

We've worked with 25,506 customers in 143 countries - come & join us!
C I Wing September 19, 2024
"Support is brilliant"

Highly recommending Ethernet Servers, top notch and support is brilliant. Go for it as I am using the VPS already.

Paola Meyer September 5, 2024
"Splendid service"

All tickets are handled in timely manner. One of the best customer attentions I've had in the last 15 years. I wholeheartedly recommend ethernetservers.com for their splendid service.

Robin Gupta September 3, 2024
"Very happy"

I've been using Ethernet Servers since 2014, and they’ve always provided excellent service. I have many shared hosting accounts with them, and for the past five months, I’ve also been using their managed dedicated servers. What really stands out is their support. George, who I respectfully call Sir, is always there when I need help. He’s very knowledgeable and professional, and his assistance has made a big difference for me. If you’re looking for affordable and reliable web hosting, I highly recommend Ethernet Servers. They’ve been great to work with, and I’m very happy with their service. Thanks for everything!

David August 9, 2024
"Service is excellent"

The service is excellent. George went above and beyond. In this day and age, it is very nice to have a real person that I can deal with rather than a chatbot or some nameless/faceless tech support department as is often the case at other hosting providers. Highly recommended.


Ethernet Servers Ltd
124 City Road
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
hello@ethernetservers.com

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

Proudly serving customers in 143 countries since July 2014!