1

I'm trying to modify one of my extensions that shows network traffic from my computer (For an indicator). I'd like to be able to quantify how much of the network traffic I see is coming/going to the internet, and how much is exchanged with my local subnet.

Is there any way to make this distinction in Ubuntu using e.g. netstat?

Thomas
  • 166

1 Answers1

0

Assuming you could obtain current network traffic, broken down by subnet, and put that process into a shell script, you could then install indicator-sysmonitor and add your script to the indicator.

I also happened upon bandwidthd which may help.

Bernmeister
  • 1,231
  • I have added background script functionality to https://askubuntu.com/a/786708/67335 which would allow you to display the result in the panel (once you've obtained/parsed your result). – Bernmeister Nov 06 '21 at 00:55