Subject: Re: CVS commit: src/sbin/ifconfig
To: NetBSD Miscellaneous Technical Discussion List <tech-misc@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-misc
Date: 04/13/2003 14:16:28
[ On Saturday, April 12, 2003 at 17:33:14 (-0700), Matt Thomas wrote: ]
> Subject: Re: CVS commit: src/sbin/ifconfig
>
> I don't see the problem.  If you run SNMP, don't zero the counters.  If you
> don't run SNMP, who cares?

SNMP is only an example of the issue.  The example of multiple CLI users
is equally valid.

If you want to see the counter delta from a recent start point then use
a tool that can keep track of the counter value at the start point and
only show you a delta from that start point.

(snmpdelta from the net-snmp tools is an example of such a tool, as is
the '-w wait' option on the various *stat tools, including netstat for
the very interface counters in question here)

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>