Date: Wed, 14 Dec 2005 14:06:22 -0500 From: "Ansar Mohammed" <ansarm@gmail.com> To: "'Parv'" <parv@pair.com>, "'Chuck Swiger'" <cswiger@mac.com> Cc: 'f-q' <freebsd-questions@freebsd.org> Subject: RE: Getting the network traffic amount since the interface went up Message-ID: <003701c600e1$7ba350a0$0405a8c0@northamerica.corp.microsoft.com> In-Reply-To: <20051214072232.GA34657@holestein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003701c600e1$7ba350a0$0405a8c0>