sysctl.8 (39743) | sysctl.8 (42456) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)sysctl.8 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)sysctl.8 8.1 (Berkeley) 6/6/93 |
33.\" $Id: sysctl.8,v 1.16 1998/07/29 08:30:37 joerg Exp $ | 33.\" $Id: sysctl.8,v 1.17 1998/09/29 02:01:06 jkoshy Exp $ |
34.\" 35.Dd September 23, 1994 36.Dt SYSCTL 8 37.Os 38.Sh NAME 39.Nm sysctl 40.Nd get or set kernel state 41.Sh SYNOPSIS 42.Nm sysctl | 34.\" 35.Dd September 23, 1994 36.Dt SYSCTL 8 37.Os 38.Sh NAME 39.Nm sysctl 40.Nd get or set kernel state 41.Sh SYNOPSIS 42.Nm sysctl |
43.Op Fl bn | 43.Op Fl bdn |
44.Ar name ... 45.Nm sysctl 46.Op Fl bn 47.Fl w 48.Ar name=value ... 49.Nm sysctl | 44.Ar name ... 45.Nm sysctl 46.Op Fl bn 47.Fl w 48.Ar name=value ... 49.Nm sysctl |
50.Op Fl bn | 50.Op Fl bdn |
51.Fl aAX 52.Sh DESCRIPTION 53The 54.Nm 55utility retrieves kernel state and allows processes with 56appropriate privilege to set kernel state. 57The state to be retrieved or set is described using a 58``Management Information Base'' (``MIB'') style name, --- 21 unchanged lines hidden (view full) --- 80For example, to save the pagesize in variable psize, use: 81.Bd -literal -offset indent -compact 82set psize=`sysctl -n hw.pagesize` 83.Ed 84.It Fl b 85Force the value of the variable(s) to be output in raw, binary 86format. No names are printed and no terminating newlines are output. 87This is mostly useful with a single variable. | 51.Fl aAX 52.Sh DESCRIPTION 53The 54.Nm 55utility retrieves kernel state and allows processes with 56appropriate privilege to set kernel state. 57The state to be retrieved or set is described using a 58``Management Information Base'' (``MIB'') style name, --- 21 unchanged lines hidden (view full) --- 80For example, to save the pagesize in variable psize, use: 81.Bd -literal -offset indent -compact 82set psize=`sysctl -n hw.pagesize` 83.Ed 84.It Fl b 85Force the value of the variable(s) to be output in raw, binary 86format. No names are printed and no terminating newlines are output. 87This is mostly useful with a single variable. |
88.It Fl d 89Display the description rather than the value of the requested 90variable(s). |
|
88.It Fl w Ar name=value ... 89Set the MIB 90.Ar name 91to the new 92.Ar value . 93If just a MIB style 94.Ar name 95is given, --- 145 unchanged lines hidden --- | 91.It Fl w Ar name=value ... 92Set the MIB 93.Ar name 94to the new 95.Ar value . 96If just a MIB style 97.Ar name 98is given, --- 145 unchanged lines hidden --- |