aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/sysctl.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/sysctl.3')
-rw-r--r--lib/libc/gen/sysctl.328
1 files changed, 13 insertions, 15 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 5ed1261283b5..6169e260016a 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -57,7 +57,7 @@ The information available from
.Fn sysctl
consists of integers, strings, and tables.
Information may be retrieved and set from the command interface
-using the
+using the
.Xr sysctl 8
utility.
.Pp
@@ -91,18 +91,20 @@ The size of the buffer is given by the location specified by
.Fa oldlenp
before the call,
and that location gives the amount of data copied after a successful call
-and after a call that returns with the error code ENOMEM.
+and after a call that returns with the error code
+.Er ENOMEM .
If the amount of data available is greater
than the size of the buffer supplied,
the call supplies as much data as fits in the buffer provided
-and returns with the error code ENOMEM.
+and returns with the error code
+.Er ENOMEM .
If the old value is not desired,
.Fa oldp
and
.Fa oldlenp
should be set to NULL.
.Pp
-The size of the available data can be determined by calling
+The size of the available data can be determined by calling
.Fn sysctl
with a NULL parameter for
.Fa oldp .
@@ -177,9 +179,9 @@ Each time it runs,
.Fn sysctl
gets the list of debugging variables from the kernel and
displays their current values.
-The system defines twenty
+The system defines twenty
.Ns ( Va struct ctldebug )
-variables named
+variables named
.Nm debug0
through
.Nm debug19 .
@@ -238,7 +240,6 @@ The machine class.
The machine model
.It Li HW_NCPU
The number of cpus.
-.ne 1i
.It Li HW_BYTEORDER
The byteorder (4,321, or 1,234).
.It Li HW_PHYSMEM
@@ -294,7 +295,6 @@ information.
.It KERN\_VERSION string no
.It KERN\_VNODE struct vnode no
.El
-.ne 1i
.Pp
.Bl -tag -width "123456"
.It Li KERN_ARGMAX
@@ -381,8 +381,9 @@ The third and fourth level names are as follows:
Return profiling information about the kernel.
If the kernel is not compiled for profiling,
attempts to retrieve any of the KERN_PROF values will
-fail with EOPNOTSUPP.
-The third level names for the string and integer profiling information
+fail with
+.Er EOPNOTSUPP .
+The third level names for the string and integer profiling information
is detailed below.
The changeable column shows whether a process with appropriate
privilege may change the value.
@@ -411,7 +412,6 @@ describing destination of calls and their counts.
.It Li GPROF_GMONPARAM
Structure giving the sizes of the above arrays.
.El
-.ne 1i
.It Li KERN_QUANTUM
The maximum period of time, in microseconds, for which a process is allowed
to run without being preempted if other processes are in the run queue.
@@ -481,7 +481,6 @@ Get or set various global information about the IPv4
The third level name is the protocol.
The fourth level name is the variable name.
The currently defined protocols and names are:
-.ne 1i
.Bl -column ProtocolXX VariableXX TypeXX ChangeableXX
.It Pa Protocol Variable Type Changeable
.It icmp bmcastecho integer yes
@@ -495,7 +494,7 @@ The currently defined protocols and names are:
The variables are as follows:
.Bl -tag -width "123456"
.It Li icmp.bmcastecho
-Returns 1 if an ICMP echo request to a broadcast or multicast address is
+Returns 1 if an ICMP echo request to a broadcast or multicast address is
to be answered.
.It Li icmp.maskrepl
Returns 1 if ICMP network mask requests are to be answered.
@@ -617,7 +616,6 @@ The version of POSIX 1003.2 with which the system attempts to comply.
.It Li USER_RE_DUP_MAX
The maximum number of repeated occurrences of a regular expression
permitted when using interval notation.
-.ne 1i
.It Li USER_STREAM_MAX
The minimum maximum number of streams that a process may have open
at any one time.
@@ -642,7 +640,7 @@ privilege may change the value.
.It VM\_V\_FREE\_RESERVED integer yes
.It VM\_V\_FREE\_TARGET integer yes
.It VM\_V\_INACTIVE\_TARGET integer yes
-.It VM\_V\_PAGEOUT\_FREE\_MIN integer yes
+.It VM\_V\_PAGEOUT\_FREE\_MIN integer yes
.El
.Pp
.Bl -tag -width "123456"