Subject: Re: vmstat and netstat....
To: Garrett D'Amore <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 03/27/2006 18:52:09
On Mon, Mar 27, 2006 at 08:42:15AM -0800, Garrett D'Amore wrote:
> Huh. It looks like netstat uses sysctl by default, but *errs out* if
> kvm_openfiles fails, even in this case, which sort of (IMO) defeats one
> of the major benefits of using sysctl.
> Maybe the code around line 151 in netstat/main.c needs to be
> conditionalized based upon the use_sysctl value? :-)
Probably, exept that in my sources, it's line 529 :)
Note that there are other libkvm calls later.
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference