From owner-freebsd-net Wed Dec 19 10:21:54 2001 Delivered-To: freebsd-net@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 6F0C237B416; Wed, 19 Dec 2001 10:21:49 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id BE4A4F; Wed, 19 Dec 2001 18:21:39 +0000 (GMT) Date: Wed, 19 Dec 2001 18:21:39 +0000 From: Josef Karthauser To: ru@freebsd.org Cc: Yusuf Goolamabbas , freebsd-net@freebsd.org Subject: Re: Is there a way to clear stats from netstat -i Message-ID: <20011219182139.A9340@tao.org.uk> References: <20011211123504.A5909@outblaze.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011211123504.A5909@outblaze.com>; from yusufg@outblaze.com on Tue, Dec 11, 2001 at 12:35:04PM +0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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 >=20 > Is there a way to clear those flags >=20 > 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 >=20 > Regards, Yusuf > --=20 > Yusuf Goolamabbas > yusufg@outblaze.com >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEUEARECAAYFAjwg2rEACgkQXVIcjOaxUBaSUACY97S720emQzNGSMjg0SqhnzQB MQCdEdPqqBEI7Dbq2FXdGd3z6I+CeNs= =M3l4 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message