diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-04-21 10:51:09 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-04-21 10:51:09 +0000 |
commit | 7409a321a8c713fad0e67469f7eff7f9e7c917f5 (patch) | |
tree | 427dd015890f152ce833800ff87498b7bd613b3e | |
parent | 69586b7f65cd9f5f5673b21daeae8de3ed14801c (diff) |
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 |