Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2002 22:32:00 -0700
From:      Larry Sica <lsica1@cox.net>
To:        Ivailo Tanusheff <I.Tanusheff@procreditbank.com>
Cc:        <freebsd-net@freebsd.org>
Subject:   Re: Interface statistic
Message-ID:  <E17AOcR-0002lS-00@flamingo.mail.pas.earthlink.net>
In-Reply-To: <008101c200be$d1f250e0$cbf810ac@sof.procreditbank.bg>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, 21 May 2002 14:58:22 +0300, Ivailo Tanusheff wrote:
>Hi,
>
>Can you tell me a way to collect per network interface statistic on
>my FreeBSD box?
>At this moment I'm using IPFilter accounting to collect needed
>information, but I think this way I'm collecting only information
>related to tcp, udp and icmp traffic. My purpose is to visualize
>this data in MRTG.
>

You could capture traffic via tcpdump.  I think MRTG can read tcpdump
output.  I am going by memory right now though so some research would
be helpful.




-- Larry


Larry Sica
 lsica1@cox.net



[-- Attachment #2 --]
<HTML><HEAD>
<BASEFONT FACE="Arial" SIZE="2" COLOR="#000000">
</HEAD>
<BODY>
<div>On Tue, 21 May 2002 14:58:22 +0300, Ivailo Tanusheff wrote:<br>
<FONT COLOR="#000080">&gt;Hi,</FONT><br>
<FONT COLOR="#000080">&gt;</FONT><br>
<FONT COLOR="#000080">&gt;Can you tell me a way to collect per network interface statistic on</FONT><br>
<FONT COLOR="#000080">&gt;my FreeBSD box?</FONT><br>
<FONT COLOR="#000080">&gt;At this moment I'm using IPFilter accounting to collect needed</FONT><br>
<FONT COLOR="#000080">&gt;information, but I think this way I'm collecting only information</FONT><br>
<FONT COLOR="#000080">&gt;related to tcp, udp and icmp traffic. My purpose is to visualize</FONT><br>
<FONT COLOR="#000080">&gt;this data in MRTG.</FONT><br>
<FONT COLOR="#000080">&gt;</FONT><br></div>
<div>&nbsp;</div>
<FONT COLOR="#000080"></FONT><div>You could capture traffic via tcpdump.&nbsp; I think MRTG can read tcpdump output.&nbsp; I am going by memory right now though so some research would be helpful.&nbsp; <br></div>
<div>&nbsp;</div>
<div><br>
<br>
<br></div>
<div>-- Larry<br></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Larry Sica<br></div>
<div> lsica1@cox.net<br></div>
<div>&nbsp;</div>
</body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17AOcR-0002lS-00>