Re: CVS commit: src/sbin/ifconfig

"Greg A. Woods" <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Organization Planix, Inc.; Toronto, Ontario; Canada
Message-ID <[email protected]>
[ 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;            <[email protected]>;           <[email protected]>
Planix, Inc. <[email protected]>; VE3TCP; Secrets of the Weird <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.