Subject: Re: PPPoE stats
To: Jean-Edouard BABIN <>
From: Martin Husemann <>
List: current-users
Date: 04/08/2003 15:10:57
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 clear