Re: Net device byte statistics

From: Bernd Eckenfels (
Date: Thu Jul 24 2003 - 19:22:51 EST

In article <> you wrote:
> On the other hand, I cannot imagine that noone would have thought of it. What
> is the reason for this? Is there another interface that I should use instead
> of /proc/net/dev to gather byte statistics for interfaces?

it is for performance reasons. You can

a) collect your numbers more often and asume wrap/reboot if numbers
b) use iptables counters instead

BTW: it is a very often discussed topic, personally (as net tools
maintainer) I would love to see 64bit counters here, but this still means
you have to sample often enough, so you do not lose numbers on crash.


eckes privat -
Project Freefire -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:24 EST