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

From: Alan Cox
Date: Sat May 31 2008 - 08:26:25 EST


> 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.

Zeroing them is not a general solution either - you break all the other
tools monitoring the same stats in parallel - like network usage monitors.

This is a user space tools problem, scripts or otherwise.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/