Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a CentOS 5.7 box configured as a router. Two network cards are attached to this machine, one connected to the Internet and one connected to an unmanaged network switch.

The question is, how can I monitor bandwidth usage per IP address routed through this machine. I know how to monitor instant traffic and ports, I want to monitor the -- for example daily, monthly traffic.

any help is appreciated.


share|improve this question

migrated from Feb 5 '12 at 12:22

This question came from our site for professional and enthusiast programmers.

NTOP should be able to give you these statistics, as well as a nice per-protocol breakdown. If your router doesn't have a lot of memory or processing, I would recommend looking into mirroring the traffic to another machine and running NTOP on there.

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.