Re: RFC: per-socket statistics on received/dropped packets

From: Ben Greear (
Date: Fri Jun 14 2002 - 13:09:51 EST

Stephen Hemminger wrote:

> It sounds like what you want is socket accounting which works like
> process accounting. I.e when a socket lifetime ends, put out a record
> with number of packets/bytes sent/received.

Runtime is much more interesting to me. However, if you are keeping
enough information to do the accounting as you suggest, then it would
be trivial to make it available incrementally over the life of the

Billing is not the only interesting aspect of this. It is also good for
any program trying to dynamically tune or understand the lower-level
characteristics of a particular routing path or interface.


Ben Greear <>       <Ben_Greear AT>
President of Candela Technologies Inc

- 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 : Sat Jun 15 2002 - 22:00:32 EST