From owner-freebsd-hackers Thu Dec 5 1:56: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF09437B401 for ; Thu, 5 Dec 2002 01:56:06 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 8426F43E9C for ; Thu, 5 Dec 2002 01:56:05 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 5 Dec 2002 09:56:04 +0000 (GMT) To: Josh Brooks Cc: freebsd-hackers@freebsd.org Subject: Re: strange netstat output inside 4.x jails... In-Reply-To: Your message of "Wed, 04 Dec 2002 22:18:32 PST." <20021204215129.Q77087-100000@mail.econolodgetulsa.com> Date: Thu, 05 Dec 2002 09:56:03 +0000 From: Ian Dowse Message-ID: <200212050956.aa42053@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20021204215129.Q77087-100000@mail.econolodgetulsa.com>, Josh Brooks writes: > >I run netstat -i fxp0 while _innside_ a jail: >and then, I transfer a large file from the jail to some external host. >The file I transferred out was 4.3 megabytes. Opkts only increased by >1733 ... which means 2481 bytes per packet ... but ifconfig tells us: How long did you wait after the transfer completed before checking netstat? I think the packet counts for fxp interfaces are only updated about once a second, as the driver periodically polls them from the hardware (the byte counts are updated immediately though). Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message