Subject: Re: CVS commit: src/sbin/ifconfig
To: Bill Studenmund <wrstuden@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: tech-misc
Date: 04/12/2003 23:53:16
On Sat, Apr 12, 2003 at 01:30:32PM -0700, Bill Studenmund wrote:
> > Havard Eidnes <he@netbsd.org> writes:
> > > If this does what I think it does (after browsing the code, I think it
> > > does), zeroing the packet statistics will break the monotonous
> > > increase of counters restriction imposed on SNMP agents
> So what do other *BSDs do? I figure we need to come up with a new
> read-stats ioctl that will get the monotonic value. What name(s) are in
> use now?

Why bloat the kernel more instead of having the SNMP daemon take care of it?
Or root?

The counters will wrap anyway, if not reset. Why should root (who might know
this machine is not running any SNMP stuff) not be allowed to reset this
counters?

Martin
(not running any SNMP stuff)