Server Fault is a question and answer site for system and network administrators. 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

Linux keeps per-interface statistics, ifconfig reports them just fine.

But does Linux keep per-TCP connection statistics, specifically, how many rx/tx bytes this session? If it does, I sure can't find them.

Can you?

share|improve this question

A Google search for IPtraf will point you in the right direction and includes articles on topics such as pairing IPtraf with RDDtool for graphing connections over time.

share|improve this answer
+1, same thing I was going to suggest. – Tim Dec 20 '11 at 18:10

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.