Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 17:45:39 +0930
From:      Greg Lehey <grog@lemis.com>
To:        yuantuo@263.net, freebsd-questions@FreeBSD.ORG
Subject:   Re: How can I statistics IP discharge ?
Message-ID:  <19980831174539.I606@freebie.lemis.com>
In-Reply-To: <199808310724.AAA06271@hub.freebsd.org>; from Yuan Tuo on Mon, Aug 31, 1998 at 03:24:39PM %2B0800
References:  <199808310724.AAA06271@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[Format autorecovered at freebie.lemis.com]

On Monday, 31 August 1998 at 15:24:39 +0800, Yuan Tuo wrote:
> Hi

> I have a machine with FreeBSD 2.2.5 , it is installed a Inter
> Express pro 10/100M network card (fxp0), I want to statistics IP
> discharge that via fxp0,
>
> Hoew can I do?

I'm not sure I understand the question.  Do you want to display the
statistics, or reset the counters?

To display the statistics, try:

 $ netstat -biI fxp0
 Name  Mtu   Network       Address            Ipkts Ierrs     Ibytes    Opkts Oerrs     Obytes  Coll
 fxp0   1500  <Link>      00.a0.24.37.0d.2b   704035     0  374742757  1077124     4  789014368     3
 fxp0   1500  widecast      freebie           704035     0  374742757  1077124     4  789014368     3

I don't know a way to reset the counters.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980831174539.I606>