I would like to know how much bandwidth is being used on my server. Not HTTP bandwidth, but all protocols. Basically iftop data over time continuously logged. Then I could write a simple python script to process it and provide aggregate info.

  • Have you tried ntop? – llua Nov 15 '12 at 13:13
  • 1
    Take a look at vnstat. – jw013 Nov 15 '12 at 14:34
  • That looks promising, trying now – Ronaldo Nascimento Nov 15 '12 at 20:07
  • 1
    Are you already logging with sysstat's sar? You might have everything you need already. – Jodie C Nov 19 '12 at 23:07

instead of writing it all new,
you could use tools like cacti.
With it you can analyze your network.


I use ntop for things like this. There are a few ways you can store and generate reports with it.

  • I will look into this, I think I avoided ntop because it installed too much stuff. – Ronaldo Nascimento Nov 15 '12 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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