Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2011 10:55:21 GMT
From:      Martin Simmons <martin@lispworks.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: Why is procfs deprecated in favor of procstat?
Message-ID:  <201102241055.p1OAtL5W024574@higson.cam.lispworks.com>
In-Reply-To: <4D65C3D6.9060205@freebsd.org> (message from Julian Elischer on Wed, 23 Feb 2011 18:35:02 -0800)
References:  <201102211707.p1LH7c8n075660@lurza.secnetix.de> <4D65C3D6.9060205@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Wed, 23 Feb 2011 18:35:02 -0800, Julian Elischer said:
> 
> While sysctl is 'ok' I will admit that the procfs variant is a bit 
> more convenient to use.
> simply because you can enumerate the damned tree  without seeing all 
> the contents.

If by contents you mean values then try the sysctl -N option (though that
still does a recursive enumeration).

__Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102241055.p1OAtL5W024574>