Date: Wed, 19 Dec 2001 18:21:39 +0000 From: Josef Karthauser <joe@tao.org.uk> To: ru@freebsd.org Cc: Yusuf Goolamabbas <yusufg@outblaze.com>, freebsd-net@freebsd.org Subject: Re: Is there a way to clear stats from netstat -i Message-ID: <20011219182139.A9340@tao.org.uk> In-Reply-To: <20011211123504.A5909@outblaze.com>; from yusufg@outblaze.com on Tue, Dec 11, 2001 at 12:35:04PM %2B0800 References: <20011211123504.A5909@outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi Ruslan, You've been near this code recently. Do you have any suggestions for how this may work? Joe On Tue, Dec 11, 2001 at 12:35:04PM +0800, Yusuf Goolamabbas wrote: > 4.4-stable box > > netstat -i shows the number of packets and number of errors > sent/received via the IPkt/Ierrs/Opkts/Oerrs fields. I would like to see > if changing network cables and reset those fields shows reduction in the > Ierrs/Oerrs field > > Is there a way to clear those flags > > netstat -sz doesn't seem to clear those flags and whilst netstat -iz > doesn't barf on me even though the man page doesn't seem to indicate > that this is a valid option > > Regards, Yusuf > -- > Yusuf Goolamabbas > yusufg@outblaze.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEUEARECAAYFAjwg2rEACgkQXVIcjOaxUBaSUACY97S720emQzNGSMjg0SqhnzQB MQCdEdPqqBEI7Dbq2FXdGd3z6I+CeNs= =M3l4 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011219182139.A9340>
