From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 19:05:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1F2216A41F for ; Wed, 14 Dec 2005 19:05:48 +0000 (GMT) (envelope-from ansarm@sympatico.ca) Received: from BAYC1-PASMTP10.bayc1.hotmail.com (bayc1-pasmtp10.bayc1.hotmail.com [65.54.191.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FE4743D60 for ; Wed, 14 Dec 2005 19:05:48 +0000 (GMT) (envelope-from ansarm@sympatico.ca) Message-ID: X-Originating-IP: [70.51.122.150] X-Originating-Email: [ansarm@sympatico.ca] Received: from ansarmm2 ([70.51.122.150]) by BAYC1-PASMTP10.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Dec 2005 11:06:06 -0800 From: "Ansar Mohammed" To: "'Parv'" , "'Chuck Swiger'" Date: Wed, 14 Dec 2005 14:06:22 -0500 Message-ID: <003701c600e1$7ba350a0$0405a8c0@northamerica.corp.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20051214072232.GA34657@holestein.holy.cow> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcYAfzlecxGc0b6JSC2Wui/XVOAbCQAYjrnw X-OriginalArrivalTime: 14 Dec 2005 19:06:06.0921 (UTC) FILETIME=[6FC12B90:01C600E1] Cc: 'f-q' Subject: RE: Getting the network traffic amount since the interface went up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 19:05:48 -0000 Try netstat -s > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Parv > Sent: December 14, 2005 2:23 AM > To: Chuck Swiger > Cc: f-q > Subject: Re: Getting the network traffic amount since the interface went > up > > in message <439FB80C.4050905@mac.com>, > wrote Chuck Swiger thusly... > > > > Parv wrote: > ... > > > Is there a way to find out the amount of traffic (in & out) > > > since a network interface has been up (not since the OS has been > > > up)? > > > > There are lots of solutions to this problem, it kinda depends on > > what you're trying to do. > > Well, actually i want to know the limit(s) (related to amount of > data and number of connections) at which SMC Barricade 7004ABR > router allows only the already established connections and refuses > to allow any new ones. This is all related to download a large > torrent via rtorrent. Rebooting the router solves the problem until > i decide to restart the download. > > > > You might set up an IPFW rule which matches just the traffic you > > care about, and look at "ipfw -a l". You can zero the counters at > > will if you like, too. From the ipfw manpage: > > > > Per-flow queueing can be useful for a variety of purposes. A > > very simple one is counting traffic: > > Thanks for bringing that to my attention as I mainly use ipf & have > not paid much of a look to ipfw. > > > - Parv > > -- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"