Re: [PATCH] net: add ability to clear stats via ethtool - e1000/pcnet32

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rick Jones <rick.jones2@...>
Cc: Alan Cox <alan@...>, James Cammarata <jimi@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Linux Netdev List <netdev@...>
Date: Friday, May 30, 2008 - 9:09 pm

On Fri, 30 May 2008, Rick Jones wrote:


Nothing against beforefter.  It's a very useful tool, especially
given Linux's lack of a method to clear interface counters.  But
it still is very cumbersome to use in the scenario I mentioned,
having to save the stats before and after a test on each of several
systems, and then having to run beforeafter on each of those systems.
Then you need to do this all again for every test run.  It's just
not very efficient.

I don't know why the major objection to adding a small amount of
code to the kernel that would make life a lot easier for hundreds
(or more) of Linux network adminstrators.  And the snapshot/diff
idea would not be complex to maintain and would also address the
issue of some hardware not having a clear hw stats capability.

						-Bill
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] net: add ability to clear stats via ethtool - e1..., Bill Fink, (Fri May 30, 9:09 pm)
Re: [PATCH] net: add ability to clear stats via ethtool - e1..., Stephen Hemminger, (Fri May 30, 10:41 pm)