Date: Sun, 16 Apr 2000 14:30:11 +0200 (CEST) From: Andrzej Bialecki <abial@webgiro.com> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: NFS attribute cache & profiling sysctl variables Message-ID: <Pine.BSF.4.20.0004161426460.36690-100000@mx.webgiro.com> In-Reply-To: <Pine.SOL.4.21.0004151617180.11238-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Apr 2000, Zhihui Zhang wrote: > > I have two unrelated questions I can not figure out myself: > (2) I am trying to display kernel profiling sysctl variables with sysctl > -a or sysctl -A without success. They are defined in subr_prof.c. Why > sysctl command can not display them? I can use kgmon. Many sysctls that return non-ascii or non-numeric values don't have any special handlers in sysctl(8), so they are silently omitted from the listing. However, you should see them with -A... You can also write a trivial 10 line program to try and retrieve the values by calling sysctlbyname (or sysctl if you know the OIDs). Andrzej Bialecki // <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0004161426460.36690-100000>