Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2019 03:31:37 -0700
From:      Enji Cooper <yaneurabeya@gmail.com>
To:        Michael Zhilin <mizhka@gmail.com>
Cc:        Alexandru Goia <bsdunix99@gmail.com>, Freebsd hackers list <freebsd-hackers@freebsd.org>
Subject:   Re: sysctl
Message-ID:  <AA8EDB82-F82B-4F2F-AC6C-CD072CF09A33@gmail.com>
In-Reply-To: <CAF19XBKWrNfku8n_tZCL7jxWijHavJK7hsssvWXy%2BPK9Wznu5A@mail.gmail.com>
References:  <CAJvjfr4p-3vEeCAvYC=s_v=4f9BvGfcwWGyra2KKN6nLdPKGsA@mail.gmail.com> <CAF19XBKWrNfku8n_tZCL7jxWijHavJK7hsssvWXy%2BPK9Wznu5A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail


> On Jun 4, 2019, at 02:29, Michael Zhilin <mizhka@gmail.com> wrote:
> 
> Hi,
> 
> What do you mean under "5 hundred"?
> On 13-CURRENT with few modules incl ZFS, "sysctl -NTa" shows around 8
> hundred variables.

As Michael noted, there are a variable number of sysctls, generally ranging in the hundreds or thousands, for controlling or querying system components/properties.

The user can optionally specify a description for a sysctl, which can be queries via “sysctl -d” (see “man 8 sysctl for more details).

There should also be a description of the sysctl in the implementing subsystem manpage, e.g., “man 4 inet” briefly describes the IPv4 stack and some of its sysctl knobs. However, there are gaps, e.g., Linux compat hooks which convert sysfs entries to sysctls. 

Good luck :).
-Enji


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA8EDB82-F82B-4F2F-AC6C-CD072CF09A33>