From owner-freebsd-isp Thu Apr 3 06:17:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA24513 for isp-outgoing; Thu, 3 Apr 1997 06:17:14 -0800 (PST) Received: from aviion.ts.kiev.ua (aviion.ts.kiev.ua [193.124.229.12]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id GAA24497 for ; Thu, 3 Apr 1997 06:17:01 -0800 (PST) Received: from nbki.ipri.kiev.ua by aviion.ts.kiev.ua with ESMTP id OAA15334; (8.6.11/zah/2.1) Thu, 3 Apr 1997 14:38:43 GMT Received: from cki.ipri.kiev.ua by nbki.ipri.kiev.ua with ESMTP id PAA18849; (8.6.9/zah/1.1) Thu, 3 Apr 1997 15:09:53 GMT Received: from 194.44.146.14 (mac.ipri.kiev.ua [194.44.146.14]) by cki.ipri.kiev.ua (8.7.6/8.7.3) with SMTP id QAA00978; Thu, 3 Apr 1997 16:13:09 +0300 (EET DST) Message-ID: <33439EF1.1692@cki.ipri.kiev.ua> Date: Thu, 03 Apr 1997 15:13:35 +0300 From: Ruslan Shevchenko Reply-To: rssh@cki.ipri.kiev.ua Organization: IPRI X-Mailer: Mozilla 3.01Gold (Macintosh; I; 68K) MIME-Version: 1.0 To: Hugh Blandford CC: freebsd-isp@freebsd.org Subject: Re: How can I measure Mb downloaded? References: <3.0.1.32.19970403173015.006f5aec@mail.island.net.au> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hugh Blandford wrote: > > Hi, > > I am trying to find a piece of software/utility that will tell me how many > Mbytes have been sent to and from an IP address or device. I would like to > log the traffic. I have a P50 for my router and it is not really upto the > task. I am aware of the end of day routine that gives how many packets > have come in and out of the interface, but I have no idea how you can get > from the number of packets to the number of bits or megabytes etc. > tcpdump (before use, add options "bpfilter" in kernel) > Regards, > > Hugh.