Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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