From owner-freebsd-questions Mon Oct 29 1: 4: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id EEE6637B409 for ; Mon, 29 Oct 2001 01:03:56 -0800 (PST) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 74A1D2EEF5; Mon, 29 Oct 2001 11:03:50 +0200 (EET) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id f9T925Y03521; Mon, 29 Oct 2001 11:02:06 +0200 (EET) Message-ID: <014a01c16057$a5f98920$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: "Devin Smith" Cc: References: <20011009230555.5680@mail.rintrah.org> Subject: Re: measure traffic passed on an interface Date: Mon, 29 Oct 2001 11:56:49 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 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 It possible to view traffic passed on an interface in some different ways: 1. netstat -i 2. ipfw s (also you have to set up IP Firewall rules) 3. ipfstat -iona 4. ... some others The main problem is following: this tools just output amount of traffic, and don't store it to database (and this is correct). So, you need to write own scripts to process this raw data from this programs. Or install additional software from the FreeBSD ports collection, for example. I suggest to use IPA (ports/sysutils/ipa). ----- Original Message ----- From: Devin Smith Newsgroups: lucky.freebsd.questions Sent: Wednesday, October 10, 2001 2:06 AM Subject: measure traffic passed on an interface > Is there a simple way to measure traffic passed by an interface in FreeBSD? > > IPFM looks like it will do the trick from the ports collection, but it > would be nice to have access to this info without installing extra > software. For instance... > > If I run ifconfig -a on linux, the RX and TX received packets tell moe or > less how much traffic has been passed on the interface. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message