netdev
[Top] [All Lists]

Re: Zeroing interface stats?

To: Andrew Morton <andrewm@xxxxxxxxxx>
Subject: Re: Zeroing interface stats?
From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Date: Tue, 6 Mar 2001 16:48:45 +0100 (CET)
Cc: jamal <hadi@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <3AA45442.4980994B@xxxxxxxxxx>
References: <Pine.GSO.4.30.0103052149010.24412-100000@xxxxxxxxxxxxxxxx> <3AA45442.4980994B@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Andrew Morton writes:
 > jamal wrote:
 > > 
 > > On Tue, 6 Mar 2001, Andrew Morton wrote:
 > > 
 > > Infact i think what the acenic is doing is illegal. These stats are used
 > > by SNMP.
 > > IIRC, if you have to zero the stats you also must reset the ifindex.
 > > Someone double check the SNMP RFCs.
 > 
 > I've seen you use this `ifindex' term before.  What is it, and
 > what is its role in life?


 BTW did you look into my effort of having a private clearable copy of 
 the device stats for all open devices?  The format as /proc/net/dev
 plus an extra line for EWMA stats, bytes and pkts etc.

 SNMP is not aware of it but it could be possible.

 robur.slu.se:
 /pub/Linux/net-development/ends/ends.c

 Cheers.


                                                --ro 

<Prev in Thread] Current Thread [Next in Thread>