iftop

Tips and Tricks for Networking

Moderator: jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

iftop

Postby viking60 » 07 Oct 2012, 01:25

Iftop is the brother of Top and Htop. It keeps track of where your bandwith is going. and monitors your network.
Here it is shown in my standard guake terminal:
Image
If you run iftop from the CLI it will attempt to monitor your network interface, If you are on wireless you might have to do a

Code: Select all

iftop -i wlan0

Here you see it to the left in an urxvt terminal that is transparent and integrayed in my wallpaper, so I have a "live" wallpaper with network info.
Image
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: iftop

Postby rolf » 07 Oct 2012, 01:57

That's a good new tip for me. :B
Sometimes I wish I could see what is going through my nic and this looks very informative. :s
For some reason, it chose eth1 by default, which is not being used, and I needed to tell it -i eth0 to see my wired connection.
Image


( :think: I see some iftop screenies in my Dropbox from a year and a half ago. :oops: but it's good to be reminded of good info. :P )

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: iftop

Postby viking60 » 07 Oct 2012, 03:15

Yes it is a good one. Even if Gurus know it already.
It should be run as root.

Iptraf is a good alternative if you need to watch a server.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “Networking”