Date: Mon, 6 Nov 2006 17:33:43 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Niek <niek@bigfoot.com> Cc: freebsd-questions@freebsd.org Subject: Re: tools for network traffic accounting Message-ID: <20061106153343.GB4123@kobe.laptop> In-Reply-To: <454F4C0F.607@bigfoot.com> References: <e02150200610050317t5d46552fk2bc329c5b45d12f5@mail.gmail.com> <20061005103759.L57215@bravo.pjkh.com> <454F4C0F.607@bigfoot.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-11-06 15:51, Niek <niek@bigfoot.com> wrote: > Thanks, also to all others who answered this question. > I found out that setting 'set loginterface <if>' in pf.conf makes it > possible to get transfer statistics from pfctl -si. Maybe it is of > interest for other beginners like me. There is also `pfctl -vv -s Interface -i <ifname>', which may be of interest in gathering per-interface statistics with PF: % # pfctl -vv -s Interface -i ath0 % Password: ******** % No ALTQ support in kernel % ALTQ related functions disabled % ath0 (instance, attached) % Cleared: Mon Nov 6 15:51:45 2006 % References: [ States: 0 Rules: 0 ] % In4/Pass: [ Packets: 48403 Bytes: 39977970 ] % In4/Block: [ Packets: 8600 Bytes: 1280772 ] % Out4/Pass: [ Packets: 44268 Bytes: 3636974 ] % Out4/Block: [ Packets: 0 Bytes: 0 ] % In6/Pass: [ Packets: 0 Bytes: 0 ] % In6/Block: [ Packets: 46 Bytes: 3152 ] % Out6/Pass: [ Packets: 0 Bytes: 0 ] % Out6/Block: [ Packets: 0 Bytes: 0 ] % #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061106153343.GB4123>