diff options
author | 2006-04-21 10:51:08 +0000 | |
---|---|---|
committer | 2006-04-21 10:51:08 +0000 | |
commit | 7549aa02d108a4adcc82422127ccd9c46ce4356c (patch) | |
tree | f6a202a0ed4cb115bc3dc65d379feafbb864fb94 | |
parent | the esm_sensor_maps describe esm sensors, not kernel sensors. i have no (diff) | |
download | wireguard-openbsd-7549aa02d108a4adcc82422127ccd9c46ce4356c.tar.xz wireguard-openbsd-7549aa02d108a4adcc82422127ccd9c46ce4356c.zip |
document retreiving a subset of sysctls;
based on a diff by janne johansson; rewritten by myself...
-rw-r--r-- | sbin/sysctl/sysctl.8 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 8f7ac6a8ebf..936aaa36ded 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.127 2005/10/05 17:38:58 norby Exp $ +.\" $OpenBSD: sysctl.8,v 1.128 2006/04/21 10:51:08 jmc Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -56,6 +56,13 @@ The state to be retrieved or set is described using a .Pq MIB style name, described as a dotted set of components. .Pp +When retreiving a variable, +a subset of the MIB name may be specified to retreive a list of +variables in that subset. +For example, to list all the machdep variables: +.Pp +.Dl $ sysctl machdep +.Pp When setting a variable, the MIB name should be followed by an equal sign and the new value. Variables are set implicitly using the |