Subject: Re: Resetting ip, icmp etc statistics
To: Liam J. Foy <liamfoy@sepulcrum.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-net
Date: 04/03/2006 11:01:40
--0/kgSOzhNoDC5T3a
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 01, 2006 at 12:03:51PM +0100, Liam J. Foy wrote:
> On 11:56, Sat 01 Apr 06, David Laight wrote:
> > On Sat, Apr 01, 2006 at 11:24:31AM +0100, Liam J. Foy wrote:
> > >=20
> > > Yeah, this is really the issue I see. Maybe have enough option to
> > > netstat which will show the difference and leave the default behaviour
> > > showing the raw values. I'm not sure whether thats a little more
> > > complicated.=20
> >=20
> > Or look at the code in systat that displays network stats.
> > systat displays often has stuff to show incremental, absolute or since
> > an epoch (usually program start time) values.
> >=20
> > 	David
>=20
> Are you suggesting we edit systat code instead of netstat, yes?

In a way, that's one manifestation of my suggestion. :-)

If you want checkpointing but don't want to zero the in-kernel counters, I=
=20
really think the best thing is to have userland apps help you out. Have=20
systat show you since-start values and fire it up in a screen=20
(pkgsrc/misc/screen) and you're set.

Take care,

Bill

--0/kgSOzhNoDC5T3a
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFEMWMEWz+3JHUci9cRAvYzAKCFGHWf/yi9c/u+FRtzyH79RNP2DgCeO7wN
ueNe41Q2Sa9mpYkB+aCY8Zg=
=A0i3
-----END PGP SIGNATURE-----

--0/kgSOzhNoDC5T3a--