Subject: Re: PPPoE stats
To: Martin Husemann <>
From: Jean-Edouard BABIN <>
List: current-users
Date: 04/08/2003 17:16:21

Thanks for the info !
I have make a patch for ifconfig
Ifconfig -c interface
will print then clear stats
I think this is a usefull fonction

on 08/04/03 15:10, =AB=A0Martin Husemann=A0=BB <> wrote:

> On Tue, Apr 08, 2003 at 02:31:04PM +0200, Jean-Edouard BABIN wrote:
>> I am wondering if there is a easyer way
> You can query the stats with the SIOCGIFDATA ioctl or query-and-clear
> them with SIOCZIFDATA. Some network watching utilities from pkgsrc
> use this.
> The only tool in the base distribution I know of that uses the former is
> "ifconfig -v ppppoe0". I don't know if ifconfig should get an option to c=
> them.
> Martin

Jean-Edouard BABIN
Web :
IRC : Jeb @ Undernet