Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2002 17:59:40 -0800 (PST)
From:      Paul Herman <pherman@frenchfries.net>
To:        Skye Poier <skye@ffwd.cx>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: tcp service accounting
Message-ID:  <200201180159.g0I1xei18045@tick.sc.omation.com>
In-Reply-To: <20020117115808.A99893@ffwd.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Jan 2002, Skye Poier wrote:

> I just need a simple daemon that will spit out
>
> IP stats:
>      ICMP   n packets in/out  n bytes in/out   % of total in/out
>      TCP " " "
>      UDP   " " "
>
> TCP/UDP stats:
>
>      port #   n packets in/out   n bytes in/out    % of TCP+UDP total in/out
>
> when I tell it to.

There's a program called tcpprof that does exactly this.  It comes
with tcpstat:

   http://www.frenchfries.net/paul/tcpstat/

or out of the FreeBSD ports.  It isn't installed by default, so you
have to manually get it out of the src/ directory after you build
it.

-Paul.


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?200201180159.g0I1xei18045>