Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 22:52:03 +0100
From:      Xian <ian@codepad.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Network interface counters
Message-ID:  <200505122252.03159.ian@codepad.net>
In-Reply-To: <8f6eba07182b27707ac41b1356cc4f98@mac.com>
References:  <8ca9329050512094520970fbc@mail.gmail.com> <8f6eba07182b27707ac41b1356cc4f98@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 12 May 2005 17:57, Charles Swiger wrote:
> On May 12, 2005, at 12:45 PM, Chad Morland wrote:
> > I was wondering if there is a FreeBSD equivalent to /proc/net/dev from
> > Linux. I am trying to get bit and packet counter info from my network
> > devices.
>
> I would use the counters built into IPFW for this purpose, as you can
> configure rules or pipes to match any subset of traffic you care
> about...

netstat -s might be usefull.

-- 
/Xian

"TEAMWORK... means never having to take all the blame yourself"
unknown author



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505122252.03159.ian>