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>

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

> On Jun 4, 2019, at 02:29, Michael Zhilin <mizhka@gmail.com> wrote:
>=20
> Hi,
>=20
> 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 i=
n the hundreds or thousands, for controlling or querying system components/p=
roperties.

The user can optionally specify a description for a sysctl, which can be que=
ries via =E2=80=9Csysctl -d=E2=80=9D (see =E2=80=9Cman 8 sysctl for more det=
ails).

There should also be a description of the sysctl in the implementing subsyst=
em manpage, e.g., =E2=80=9Cman 4 inet=E2=80=9D briefly describes the IPv4 st=
ack and some of its sysctl knobs. However, there are gaps, e.g., Linux compa=
t hooks which convert sysfs entries to sysctls.=20

Good luck :).
-Enji



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