Subject: Re: Resetting ip, icmp etc statistics
To: Liam J. Foy <>
From: David Laight <>
List: tech-net
Date: 03/30/2006 20:44:21
On Thu, Mar 30, 2006 at 08:21:36PM +0100, Liam J. Foy wrote:
> Hey folks,
> I have a patch against CURRENT which adds an option to netstat to reset
> ip, tcp, icmp and carp etc statistics. This idea was taken from the -z
> option in FreeBSDs netstat.
> This is pretty handy if you're doing network testing/research with
> NetBSD. Anyone like this idea? If you guys do, I'll submit a patch for
> review.

Generally resetting stats is a bad idea since you don't actually know
how many different pieces of software are trying to read them.

Much better is to have a display program capable of showing you the deltas.


David Laight: