From owner-freebsd-questions Thu Jan 17 17:59:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta0x15.coxmail.com (cm-fe1.coxmail.com [206.157.225.48]) by hub.freebsd.org (Postfix) with ESMTP id 5280537B416 for ; Thu, 17 Jan 2002 17:59:42 -0800 (PST) Received: from tick.sc.omation.com ([64.58.167.31]) by mta0x15.coxmail.com (InterMail vK.4.03.04.01 201-232-130-101 license 6e1a3d42bf0668978482829d4ed8437d) with ESMTP id <20020118015918.IPQX1821.mta0x15@tick.sc.omation.com>; Thu, 17 Jan 2002 20:59:18 -0500 Received: from tick.sc.omation.com (tick.sc.omation.com [192.168.128.2]) by tick.sc.omation.com (8.11.6/8.11.6) with ESMTP id g0I1xei18045; Thu, 17 Jan 2002 17:59:40 -0800 (PST) (envelope-from pherman@frenchfries.net) Message-Id: <200201180159.g0I1xei18045@tick.sc.omation.com> Date: Thu, 17 Jan 2002 17:59:40 -0800 (PST) From: Paul Herman To: Skye Poier Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcp service accounting In-Reply-To: <20020117115808.A99893@ffwd.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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