From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 09:20:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DF7D16A427 for ; Mon, 13 Mar 2006 09:20:23 +0000 (UTC) (envelope-from davmiao@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37DED43D5A for ; Mon, 13 Mar 2006 09:20:17 +0000 (GMT) (envelope-from davmiao@gmail.com) Received: by wproxy.gmail.com with SMTP id i3so1296184wra for ; Mon, 13 Mar 2006 01:20:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GBc8k8m3Dor6Hclu3m7hCc90PqgCb/wCDPSFEBZIrtToum6UbZIYJkqWqdmcHxAYxFaO8CkyypYaygAgAL+SFGNrku753XMjypYFE6vFbtdGiF8nEOvmqotHLhfPjxlVFqHLY2m5traCc48JANRgy4LSK6yWc2wC3qFjUiw+D84= Received: by 10.65.203.18 with SMTP id f18mr796730qbq; Mon, 13 Mar 2006 01:20:17 -0800 (PST) Received: by 10.65.54.5 with HTTP; Mon, 13 Mar 2006 01:20:17 -0800 (PST) Message-ID: <979f20140603130120o614c4e91y9aa26be590e1fa6c@mail.gmail.com> Date: Mon, 13 Mar 2006 17:20:17 +0800 From: "David Miao" To: "freebsd-questions@freebsd.org" In-Reply-To: <979f20140603130115h2f347cb2i38fb2340ffb26ad9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <979f20140603130115h2f347cb2i38fb2340ffb26ad9@mail.gmail.com> Subject: Re: Packets v.s. Bytes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 09:20:23 -0000 By the way, anyone could tell me 1 packet =3D ? bytes? Thanks. On 3/13/06, David Miao wrote: > Dear list, > > `netstat -i' returns _packets_, how can I get statistics using _bytes_? > > Any suggestions or hints? Thanks! > > Regards, > David > > > dm% netstat -i > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs= Coll > fxp0 1500 00:06:5b:3c:cb:01 3881033 0 2848419 0= 0 > fxp0 1500 fe80:1::206:5 fe80:1::206:5bff: 0 - 3 -= - > fxp0 1500 10.128/22 10.128.3.126 3119189 - 2842189 -= - > fxp1* 1500 00:06:5b:3c:cb:02 0 0 0 0= 0 > lo0 16384 627 0 627 0= 0 > lo0 16384 localhost ::1 0 - 0 -= - > lo0 16384 fe80:3::1 fe80:3::1 0 - 0 -= - > lo0 16384 your-net localhost 627 - 627 -= - >