Posted: . At: 11:02 AM. This was 6 years ago. Post ID: 12147
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



How to view network traffic to find a certain person that is hogging bandwidth.


To view network traffic and then locate certain traffic that is hogging bandwidth, use the iftop utility. This is a great way to see what is going on in your network.

Just install iftop.

jason@Yog-Sothoth » ~ » $ sudo apt install iftop

Then run it with this one-liner.

jason@Yog-Sothoth » ~ » $ sudo iftop -i enp0s25 -F 192.0.0.0/255.0.0.0
interface: enp0s25
IP address is: 192.168.1.2
IPv6 address is: fdc8:1451:5fa9:4700:2c:3d0d:e6e5:170d
MAC address is: d0:50:99:0d:ab:0f

This will show the computers on the 192.168.1.1 network that are using the Internet and consuming bandwidth. A very good way to track down bandwidth hogs.

Using iftop to view bandwith usage on a network.
Using iftop to view bandwith usage on a network.

As you can see above, this is a very useful application. This shows the computers that are using bandwidth on your network. Someone that is downloading a very large file or torrenting would be at the top of the list all the time. This is good to find someone who is abusing network privileges by downloading files and slowing the network. I have tried other utilities to track network usage, but they do not seem to work. The iftop utility is the best way to accomplish this network administration task.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.