From owner-freebsd-net Mon Dec 10 20:36:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from emu.dhsnames.com (emu.dhsnames.com [63.175.98.31]) by hub.freebsd.org (Postfix) with SMTP id 7E98D37B41C for ; Mon, 10 Dec 2001 20:36:22 -0800 (PST) Received: (qmail 60697 invoked from network); 11 Dec 2001 04:34:05 -0000 Received: from aworklan001038.netvigator.com (HELO yusufg.portal2.com) (203.198.151.38) by box.dhsnames.com with SMTP; 11 Dec 2001 04:34:05 -0000 Received: (qmail 5960 invoked by uid 500); 11 Dec 2001 04:35:04 -0000 Date: Tue, 11 Dec 2001 12:35:04 +0800 From: Yusuf Goolamabbas To: freebsd-net@freebsd.org Subject: Is there a way to clear stats from netstat -i Message-ID: <20011211123504.A5909@outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22.1i 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 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