0

I do a lot of (mostly WLAN) network-related troubleshooting and administrative tasks.

What I would like is a way to monitor the bandwidth usage of all network hosts in real-time. This way I can quickly locate bottlenecks, identify abusive hosts, and so on.

I could probably whip something up, but if there's something readily available, specifically for this purpose, I'll go with that.

2

2 Answers 2

1

If you are thinking of putting something together yourself you can monitor network usage in python using psutil, details here, and obviously in python it is simple enough to save &/or share those statistics.

However, for a ready rolled solution based on psutil:

  • if your servers are all Linux you can use psdash which can either make each server have its own performance summary web page or one master server have the web interface for all of them.
  • for mixed OS systems grr, while more complicated to set up, allows you to run flows, which can be used to gather data or perform other tasks on a client, and hunts which action flows on multiple clients that match a specification.
2
  • I have never seen you comment an answer that isn't python - do you get commission? ;)
    – DankyNanky
    Commented Jun 26, 2018 at 13:46
  • @ThisIsNotMyRealName - no commission just know a fair bit about Python and since you can do a lot of different things with it and there are a lot of free tools available it is often a good answer. However, my top two answers in terms of votes are both non-python. Commented Jun 26, 2018 at 18:37
1

I run my kid's traffic on my LAN through a Pi running ntop - provides a nice graphical interface of hosts involved, how much bandwidth, etc.

https://www.ntop.org

1
  • Is the pi good for this? I'm a CompSci student, and I was thinking of using one to log all the traffic on my personal LAN with tcpdump, to study at my leisure.
    – voices
    Commented Jul 29, 2018 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.