From owner-freebsd-questions Fri Jan 29 14:36:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23176 for freebsd-questions-outgoing; Fri, 29 Jan 1999 14:36:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nanguo.chalmers.com.au (gateway.chalmers.com.au [203.1.96.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA23139 for ; Fri, 29 Jan 1999 14:35:59 -0800 (PST) (envelope-from robert@chalmers.com.au) Received: from chalmers.com.au (carbon.chalmers.com.au [203.1.96.26]) by nanguo.chalmers.com.au (8.9.1/8.9.1) with ESMTP id IAA25508 for ; Sat, 30 Jan 1999 08:34:44 +1000 (EST) Message-ID: <36B23B66.CFCC563F@chalmers.com.au> Date: Sat, 30 Jan 1999 08:51:18 +1000 From: Robert Chalmers Reply-To: robert@chalmers.com.au Organization: chalmers.com.au X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: zh-CN,en MIME-Version: 1.0 To: questions Subject: Re: Measuring 'net traffic References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you want something more permanent, try using MRTG. Stats in a HTML window, updated every 10 minutes, on a graf image bob Evren Yurtesen wrote: > I thought the > netstat -i > command shows incoming and outgoing packet numbers. > you can find out how many bytes you have received from there > I guess > > On Thu, 28 Jan 1999, HERBELOT Thierry wrote: > > > Hello, > > > > I would like to know the number of bytes sent to and received from an > > Ethernet NIC. > > > > I have installed ipfw (on a 3.0-Current) and 'ipfw show' shows counters > > of packets and bytes gone through the rule "ip allow any from any" (all > > that has not been denied before), BUT, I can't get it to show traffic in > > each direction. > > > > I have tried to replace the former rule by two (one for each direction : > > ip allow any from any in and ip allow any from any out), but this setup > > does not work at all (I can't get communication to the network and > > back). > > > > I have seen that pipes could be used to discriminate the two ways, but > > is it possible to Keep It Simple St.. and have separate counters without > > pipes ? > > > > TIA > > > > TfH > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- http://www.chalmers.com.au. Publications From China in 24 different languages. English, French, German, Russian, Arabic, Spanish, Chinese, Burmese, Bengali, Hindi, Indonesian, Italian, Japanese, Korean, Portuguese, Persian, Swahili, Sinhalese, Thai, Tamil, Urdu, Vietnamese. China Books for CIBTC, Beijing. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message