]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow sysctl to filter boot and runtime tunables.
authoralfred <alfred@FreeBSD.org>
Tue, 11 Dec 2012 01:28:06 +0000 (01:28 +0000)
committeralfred <alfred@FreeBSD.org>
Tue, 11 Dec 2012 01:28:06 +0000 (01:28 +0000)
commit2a065c7bf07356bbc84ff330f04ecf38d851febf
tree837ee4aba0e9bdea5797e911dbfb8c4477e390a1
parentf63b721d8ae8f97828573d890c7de47e03cac25c
Allow sysctl to filter boot and runtime tunables.

Add the following flags to sysctl:
 -W  - show only writable sysctls
 -T  - show only tuneable sysctls

This can be used to create a /var/run/sysctl.boot to
compare set tunables versus booted tunables.

Sponsored by: iXsystems
sbin/sysctl/sysctl.8
sbin/sysctl/sysctl.c