From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 09:15:28 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 23E4816A401 for ; Mon, 13 Mar 2006 09:15:28 +0000 (UTC) (envelope-from davmiao@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B120443D46 for ; Mon, 13 Mar 2006 09:15:27 +0000 (GMT) (envelope-from davmiao@gmail.com) Received: by zproxy.gmail.com with SMTP id x3so1208025nzd for ; Mon, 13 Mar 2006 01:15:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=J5WFBWzKFwjGHeJlC1kYkoZbZ3ekyhCvVH/EqtkNnvTn5eFT2YUTJ3s/+zwNz7KUIsl5reyfvvRuvS4G9x3cEaCW6s3obv/efHRVyVW7XNj/UNC/qaINoujwnlfoWRV2PEr1k2jzBNysT6q8rFOxSpLNggbUT3rgRhHzgJP7JlA= Received: by 10.64.220.5 with SMTP id s5mr1599560qbg; Mon, 13 Mar 2006 01:15:27 -0800 (PST) Received: by 10.65.54.5 with HTTP; Mon, 13 Mar 2006 01:15:27 -0800 (PST) Message-ID: <979f20140603130115h2f347cb2i38fb2340ffb26ad9@mail.gmail.com> Date: Mon, 13 Mar 2006 17:15:27 +0800 From: "David Miao" To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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:15:28 -0000 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 - = -