Subject: Re: Resetting ip, icmp etc statistics
To: Liam J. Foy <firstname.lastname@example.org>
From: Eric Haszlakiewicz <email@example.com>
Date: 03/30/2006 14:37:27
On Thu, Mar 30, 2006 at 08:44:21PM +0100, David Laight wrote:
> 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.
if you're the only (admin) person on the machine, and you're
not running anything else, I think you can be fairly certain.
> Much better is to have a display program capable of showing you the deltas.
except then you need to have that program running continuously, or
it needs to save it's state somewhere. yuck.