Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 13:10:18 +0200 (EET)
From:      Evren Yurtesen <yurtesen@turkey.ispro.net.tr>
To:        HERBELOT Thierry <Thierry.Herbelot@alcatel.fr>
Cc:        questions <questions@FreeBSD.ORG>
Subject:   Re: Measuring 'net traffic
Message-ID:  <Pine.BSF.3.96.990129130938.24515A-100000@turkey.ispro.net.tr>
In-Reply-To: <36B09EA0.1F1C3DEB@telspace.alcatel.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990129130938.24515A-100000>