Date: Mon, 25 Aug 1997 22:59:56 -0700 (PDT) From: Tom Samplonius <tom@sdf.com> To: Adrian Chadd <adrian@psinet.net.au> Cc: Julian Elischer <julian@whistle.com>, freebsd-hackers@freebsd.org Subject: Re: Grabbing throughput stats within pppd. Message-ID: <Pine.BSF.3.95q.970825225930.24327G-100000@misery.sdf.com> In-Reply-To: <Pine.LNX.3.91.970826125530.15827A-100000@wisdom.psinet.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Aug 1997, Adrian Chadd wrote: > On Mon, 25 Aug 1997, Julian Elischer wrote: > > > how about netstat -ib? > > if that doesn't give you bytes, then we'll gladly accept patches > > :) > > of course there is the usual ipfw stuff.. > > Erm, I think people aren't understanding me here. :-) > > I was after a way INSIDE pppd. :-) (its to implement RADIUS accounting). > Since I'm not really interested in accounting for non-IP stuff, I was > wondering if there was a way to account JUST IP packets coming down > the ppp link, inside pppd. Otherwise I'll just be evil, and read the > interface byte counts. netstat -b -I ppp0 will give you the info for just ppp0. > -- > Adrian Chadd | "Unix doesn't stop you from doing > <adrian@psinet.net.au> | stupid things because that would > | stop you from doing clever things" > > > > Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970825225930.24327G-100000>