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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bill Fink
Date: Friday, May 30, 2008 - 12:12 pm

On Thu, 29 May 2008, Alan Cox wrote:


When diagnosing network problems, the ability to zero counters is
a major aid in diagnosis.  Writing scripts is not a general solution
since often several systems are involved and it's not simple to do
this via a script.  Saving stats output and running beforeafter on
a number of systems is a royal pain when troubleshooting.

I like the idea someone else had. where the clear stats actually did
a checkpoint of the stats, and then future get stats would return the
diff between the checkpointed and current values (perhaps there could
also be a mechanism to still get the absolute values if desired).

						-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 - ..., James Cammarata, (Thu May 29, 10:15 am)
Re: [PATCH] net: add ability to clear stats via ethtool - ..., Bill Fink, (Fri May 30, 12:12 pm)
Re: [PATCH] net: add ability to clear stats via ethtool - ..., Stephen Hemminger, (Fri May 30, 7:41 pm)