xref: /freebsd/sbin/sysctl/sysctl.8 (revision 08aa7128dea4d14811ae4a0225d7c678869cfe62)
12a680c5cSAlexander Ziaee.\"-
22a680c5cSAlexander Ziaee.\" SPDX-License-Identifier: BSD-3-Clause
32a680c5cSAlexander Ziaee.\"
4dea673e9SRodney W. Grimes.\" Copyright (c) 1993
5dea673e9SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
6dea673e9SRodney W. Grimes.\"
7dea673e9SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
8dea673e9SRodney W. Grimes.\" modification, are permitted provided that the following conditions
9dea673e9SRodney W. Grimes.\" are met:
10dea673e9SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
11dea673e9SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
12dea673e9SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
13dea673e9SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
14dea673e9SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
15fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
16dea673e9SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
17dea673e9SRodney W. Grimes.\"    without specific prior written permission.
18dea673e9SRodney W. Grimes.\"
19dea673e9SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20dea673e9SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21dea673e9SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22dea673e9SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23dea673e9SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24dea673e9SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25dea673e9SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26dea673e9SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27dea673e9SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28dea673e9SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29dea673e9SRodney W. Grimes.\" SUCH DAMAGE.
30dea673e9SRodney W. Grimes.\"
31*08aa7128SZhenlei Huang.Dd January 31, 2025
32dea673e9SRodney W. Grimes.Dt SYSCTL 8
33dea673e9SRodney W. Grimes.Os
34dea673e9SRodney W. Grimes.Sh NAME
35dea673e9SRodney W. Grimes.Nm sysctl
36dea673e9SRodney W. Grimes.Nd get or set kernel state
37dea673e9SRodney W. Grimes.Sh SYNOPSIS
387c7fb079SRuslan Ermilov.Nm
39*08aa7128SZhenlei Huang.Op Fl j Ar jail
400ee3e29eSZhenlei Huang.Op Fl bdeFhiJlNnoqTtVWx
4175820005SJohn-Mark Gurney.Op Fl B Ar bufsize
42da178c77SXin LI.Op Fl f Ar filename
432365fe56SJohn Baldwin.Ar name Ns Op = Ns Ar value Ns Op , Ns Ar value
449a2402bcSDag-Erling Smørgrav.Ar ...
457c7fb079SRuslan Ermilov.Nm
46*08aa7128SZhenlei Huang.Op Fl j Ar jail
470ee3e29eSZhenlei Huang.Op Fl bdeFhJlNnoqTtVWx
4875820005SJohn-Mark Gurney.Op Fl B Ar bufsize
499a2402bcSDag-Erling Smørgrav.Fl a
50dea673e9SRodney W. Grimes.Sh DESCRIPTION
51dea673e9SRodney W. GrimesThe
52d9b1bc77SPhilippe Charnier.Nm
539a2402bcSDag-Erling Smørgravutility retrieves kernel state and allows processes with appropriate
549a2402bcSDag-Erling Smørgravprivilege to set kernel state.
55def778b8SRuslan ErmilovThe state to be retrieved or set is described using a
56def778b8SRuslan Ermilov.Dq Management Information Base
57def778b8SRuslan Ermilov.Pq Dq MIB
582a680c5cSAlexander Ziaeestyle name, described as a dotted set of components.
591d86b91cSPoul-Henning Kamp.Pp
60d9b1bc77SPhilippe CharnierThe following options are available:
612a680c5cSAlexander Ziaee.Bl -tag -width "-f filename"
62d9b1bc77SPhilippe Charnier.It Fl A
639a2402bcSDag-Erling SmørgravEquivalent to
64def778b8SRuslan Ermilov.Fl o a
659a2402bcSDag-Erling Smørgrav(for compatibility).
669a2402bcSDag-Erling Smørgrav.It Fl a
671dee7c74SColin PercivalList all the currently available values except for those which are
681dee7c74SColin Percivalopaque or excluded from listing via the
691dee7c74SColin Percival.Dv CTLFLAG_SKIP
701dee7c74SColin Percivalflag.
719a2402bcSDag-Erling SmørgravThis option is ignored if one or more variable names are specified on
729a2402bcSDag-Erling Smørgravthe command line.
7375820005SJohn-Mark Gurney.It Fl B Ar bufsize
7475820005SJohn-Mark GurneySet the buffer size to read from the
7575820005SJohn-Mark Gurney.Nm
7675820005SJohn-Mark Gurneyto
7775820005SJohn-Mark Gurney.Ar bufsize .
7875820005SJohn-Mark GurneyThis is necessary for a
7975820005SJohn-Mark Gurney.Nm
8075820005SJohn-Mark Gurneythat has variable length, and the probe value of 0 is a valid length, such as
8175820005SJohn-Mark Gurney.Va kern.arandom .
82c294ecb2SZhenlei Huang.It Fl b
83c294ecb2SZhenlei HuangForce the value of the variable(s) to be output in raw, binary format.
84c294ecb2SZhenlei HuangNo names are printed and no terminating newlines are output.
85c294ecb2SZhenlei HuangThis is mostly useful with a single variable.
866105f815SLuigi Rizzo.It Fl d
876105f815SLuigi RizzoPrint the description of the variable instead of its value.
88d0b8aabbSAnton Berezin.It Fl e
8928dc1d23SAnton BerezinSeparate the name and the value of the variable(s) with
9028dc1d23SAnton Berezin.Ql = .
91d0b8aabbSAnton BerezinThis is useful for producing output which can be fed back to the
92d0b8aabbSAnton Berezin.Nm
93d0b8aabbSAnton Berezinutility.
94d0b8aabbSAnton BerezinThis option is ignored if either
95d0b8aabbSAnton Berezin.Fl N
96d0b8aabbSAnton Berezinor
97d0b8aabbSAnton Berezin.Fl n
98d0b8aabbSAnton Berezinis specified, or a variable is being set.
99c294ecb2SZhenlei Huang.It Fl F
100c294ecb2SZhenlei HuangPrint the format of the variable.
101c294ecb2SZhenlei HuangThis is additional information to describe the type of the variable and
102c294ecb2SZhenlei Huangmost useful with struct types such as clockinfo, timeval, and loadavg.
103da178c77SXin LI.It Fl f Ar filename
104da178c77SXin LISpecify a file which contains a pair of name and value in each line.
105da178c77SXin LI.Nm
106da178c77SXin LIreads and processes the specified file first and then processes the name
107da178c77SXin LIand value pairs in the command line argument.
108*08aa7128SZhenlei HuangNote that when the
109*08aa7128SZhenlei Huang.Fl j Ar jail
110*08aa7128SZhenlei Huangoption is specified, the file will be opened before attaching to the jail and
111*08aa7128SZhenlei Huangthen be processed inside the jail.
11245817aaaSDag-Erling Smørgrav.It Fl h
11345817aaaSDag-Erling SmørgravFormat output for human, rather than machine, readability.
11424b2aa32SGavin Atkinson.It Fl i
11524b2aa32SGavin AtkinsonIgnore unknown OIDs.
11624b2aa32SGavin AtkinsonThe purpose is to make use of
11724b2aa32SGavin Atkinson.Nm
11824b2aa32SGavin Atkinsonfor collecting data from a variety of machines (not all of which
11924b2aa32SGavin Atkinsonare necessarily running exactly the same software) easier.
1205ec83c66SZhenlei Huang.It Fl J
1215ec83c66SZhenlei HuangDisplay only jail prision sysctl variables (CTLFLAG_PRISON).
122*08aa7128SZhenlei Huang.It Fl j Ar jail
123*08aa7128SZhenlei HuangPerform the actions inside the
124*08aa7128SZhenlei Huang.Ar jail
125*08aa7128SZhenlei Huang(by jail id or jail name).
126f126d349SKirk McKusick.It Fl l
127f126d349SKirk McKusickShow the length of variables along with their values.
128f126d349SKirk McKusickThis option cannot be combined with the
129f126d349SKirk McKusick.Fl N
130f126d349SKirk McKusickoption.
1310ef56fd8SDag-Erling Smørgrav.It Fl N
1320ef56fd8SDag-Erling SmørgravShow only variable names, not their values.
1339a2402bcSDag-Erling SmørgravThis is particularly useful with shells that offer programmable
1349a2402bcSDag-Erling Smørgravcompletion.
1359a2402bcSDag-Erling SmørgravTo enable completion of variable names in
136f0ea72a0SChristian Brueffer.Xr zsh 1 Pq Pa ports/shells/zsh ,
1379a2402bcSDag-Erling Smørgravuse the following code:
138def778b8SRuslan Ermilov.Bd -literal -offset indent
1399a2402bcSDag-Erling Smørgravlistsysctls () { set -A reply $(sysctl -AN ${1%.*}) }
1409a2402bcSDag-Erling Smørgravcompctl -K listsysctls sysctl
1419a2402bcSDag-Erling Smørgrav.Ed
142ec3724d9SHiten Pandya.Pp
143ec3724d9SHiten PandyaTo enable completion of variable names in
144ec3724d9SHiten Pandya.Xr tcsh 1 ,
145ec3724d9SHiten Pandyause:
14621414470SRuslan Ermilov.Pp
14721414470SRuslan Ermilov.Dl "complete sysctl 'n/*/`sysctl -Na`/'"
148d9b1bc77SPhilippe Charnier.It Fl n
1490ad4bfaeSFernando ApesteguíaDo not show variable names.
1509a2402bcSDag-Erling SmørgravThis option is useful for setting shell variables.
151def778b8SRuslan ErmilovFor instance, to save the pagesize in variable
152def778b8SRuslan Ermilov.Va psize ,
153def778b8SRuslan Ermilovuse:
154def778b8SRuslan Ermilov.Pp
155def778b8SRuslan Ermilov.Dl "set psize=`sysctl -n hw.pagesize`"
156c4da2cc9SDima Dorfman.It Fl o
1579a2402bcSDag-Erling SmørgravShow opaque variables (which are normally suppressed).
1589a2402bcSDag-Erling SmørgravThe format and length are printed, as well as a hex dump of the first
1599a2402bcSDag-Erling Smørgravsixteen bytes of the value.
160f93d36fdSRobert Watson.It Fl q
161f93d36fdSRobert WatsonSuppress some warnings generated by
162f93d36fdSRobert Watson.Nm
163f93d36fdSRobert Watsonto standard error.
1649ecd2e32SAlfred Perlstein.It Fl T
16575820005SJohn-Mark GurneyDisplay only variables that are settable via loader (CTLFLAG_TUN).
1668020192dSMarcelo Araujo.It Fl t
1678020192dSMarcelo AraujoPrint the type of the variable.
1685ec83c66SZhenlei Huang.It Fl V
1695ec83c66SZhenlei HuangDisplay only VNET sysctl variables (CTLFLAG_VNET).
1709ecd2e32SAlfred Perlstein.It Fl W
171b85e9d27SDevin TeskeDisplay only writable variables that are not statistical.
1729ecd2e32SAlfred PerlsteinUseful for determining the set of runtime tunable sysctls.
1739a2402bcSDag-Erling Smørgrav.It Fl X
1749a2402bcSDag-Erling SmørgravEquivalent to
175def778b8SRuslan Ermilov.Fl x a
1769a2402bcSDag-Erling Smørgrav(for compatibility).
1779a2402bcSDag-Erling Smørgrav.It Fl x
1789a2402bcSDag-Erling SmørgravAs
1799a2402bcSDag-Erling Smørgrav.Fl o ,
1809a2402bcSDag-Erling Smørgravbut prints a hex dump of the entire value instead of just the first
1819a2402bcSDag-Erling Smørgravfew bytes.
182d9b1bc77SPhilippe Charnier.El
183dea673e9SRodney W. Grimes.Pp
184dea673e9SRodney W. GrimesThe information available from
185d9b1bc77SPhilippe Charnier.Nm
1865bf6a940SMatthew D Flemingconsists of integers, strings, and opaque types.
187629e80efSPhilippe CharnierThe
188629e80efSPhilippe Charnier.Nm
189629e80efSPhilippe Charnierutility
1901d86b91cSPoul-Henning Kamponly knows about a couple of opaque types, and will resort to hexdumps
1911d86b91cSPoul-Henning Kampfor the rest.
1921d86b91cSPoul-Henning KampThe opaque information is much more useful if retrieved by special
193dea673e9SRodney W. Grimespurpose programs such as
1944f898f94SPhilippe Charnier.Xr ps 1 ,
1954f898f94SPhilippe Charnier.Xr systat 1 ,
196dea673e9SRodney W. Grimesand
1974f898f94SPhilippe Charnier.Xr netstat 1 .
1981d86b91cSPoul-Henning Kamp.Pp
19943308797SChristian BruefferSome of the variables which cannot be modified during normal system
200ab5e6ef0SChristian Bruefferoperation can be initialized via
201ab5e6ef0SChristian Brueffer.Xr loader 8
202ab5e6ef0SChristian Brueffertunables.
203ab5e6ef0SChristian BruefferThis can for example be done by setting them in
20443308797SChristian Brueffer.Xr loader.conf 5 .
205ab5e6ef0SChristian BruefferPlease refer to
206ab5e6ef0SChristian Brueffer.Xr loader.conf 5
207ab5e6ef0SChristian Bruefferfor more information on which tunables are available and how to set them.
20843308797SChristian Brueffer.Pp
2094a8d0283SMike PritchardThe string and integer information is summarized below.
210cd9cdd0eSCeri DaviesFor a detailed description of these variables see
2118d7a48d3SOlivier Certner.Xr sysctl 3
2128d7a48d3SOlivier Certnerand
2138d7a48d3SOlivier Certner.Xr security 7 .
2141d86b91cSPoul-Henning Kamp.Pp
215dea673e9SRodney W. GrimesThe changeable column indicates whether a process with appropriate
216dea673e9SRodney W. Grimesprivilege can change the value.
2177e265faeSMatthew D FlemingString and integer values can be set using
21842277d47SDima Dorfman.Nm .
219d0615c64SAndrew R. Reiter.Bl -column security.bsd.unprivileged_read_msgbuf integerxxx
220c2965cd1SJoel Dahl.It Sy "Name	Type	Changeable"
2212a680c5cSAlexander Ziaee.It Va "kern.ostype	string	no"
2222a680c5cSAlexander Ziaee.It Va "kern.osrelease	string	no"
2232a680c5cSAlexander Ziaee.It Va "kern.osrevision	integer	no"
2242a680c5cSAlexander Ziaee.It Va "kern.version	string	no"
2252a680c5cSAlexander Ziaee.It Va "kern.maxvnodes	integer	yes"
2262a680c5cSAlexander Ziaee.It Va "kern.maxproc	integer	no"
2272a680c5cSAlexander Ziaee.It Va "kern.maxprocperuid	integer	yes"
2282a680c5cSAlexander Ziaee.It Va "kern.maxfiles	integer	yes"
2292a680c5cSAlexander Ziaee.It Va "kern.maxfilesperproc	integer	yes"
2302a680c5cSAlexander Ziaee.It Va "kern.argmax	integer	no"
2312a680c5cSAlexander Ziaee.It Va "kern.securelevel	integer	raise only"
2322a680c5cSAlexander Ziaee.It Va "kern.hostname	string	yes"
2332a680c5cSAlexander Ziaee.It Va "kern.hostid	integer	yes"
2342a680c5cSAlexander Ziaee.It Va "kern.clockrate	struct	no"
2352a680c5cSAlexander Ziaee.It Va "kern.posix1version	integer	no"
2362a680c5cSAlexander Ziaee.It Va "kern.ngroups	integer	no"
2372a680c5cSAlexander Ziaee.It Va "kern.job_control	integer	no"
2382a680c5cSAlexander Ziaee.It Va "kern.saved_ids	integer	no"
2392a680c5cSAlexander Ziaee.It Va "kern.boottime	struct	no"
2402a680c5cSAlexander Ziaee.It Va "kern.domainname	string	yes"
2412a680c5cSAlexander Ziaee.It Va "kern.filedelay	integer	yes"
2422a680c5cSAlexander Ziaee.It Va "kern.dirdelay	integer	yes"
2432a680c5cSAlexander Ziaee.It Va "kern.metadelay	integer	yes"
2442a680c5cSAlexander Ziaee.It Va "kern.osreldate	integer	no"
2452a680c5cSAlexander Ziaee.It Va "kern.bootfile	string	yes"
2462a680c5cSAlexander Ziaee.It Va "kern.corefile	string	yes"
2472a680c5cSAlexander Ziaee.It Va "kern.logsigexit	integer	yes"
2482a680c5cSAlexander Ziaee.It Va "security.bsd.suser_enabled	integer	yes"
2492a680c5cSAlexander Ziaee.It Va "security.bsd.see_other_uids	integer	yes"
2502a680c5cSAlexander Ziaee.It Va "security.bsd.see_other_gids	integer	yes"
2512a680c5cSAlexander Ziaee.It Va "security.bsd.see_jail_proc	integer	yes"
2522a680c5cSAlexander Ziaee.It Va "security.bsd.unprivileged_proc_debug	integer	yes"
2532a680c5cSAlexander Ziaee.It Va "security.bsd.unprivileged_read_msgbuf	integer	yes"
2542a680c5cSAlexander Ziaee.It Va "vm.loadavg	struct	no"
2552a680c5cSAlexander Ziaee.It Va "hw.machine	string	no"
2562a680c5cSAlexander Ziaee.It Va "hw.model	string	no"
2572a680c5cSAlexander Ziaee.It Va "hw.ncpu	integer	no"
2582a680c5cSAlexander Ziaee.It Va "hw.byteorder	integer	no"
2592a680c5cSAlexander Ziaee.It Va "hw.physmem	integer	no"
2602a680c5cSAlexander Ziaee.It Va "hw.usermem	integer	no"
2612a680c5cSAlexander Ziaee.It Va "hw.pagesize	integer	no"
2622a680c5cSAlexander Ziaee.It Va "hw.floatingpoint	integer	no"
2632a680c5cSAlexander Ziaee.It Va "hw.machine_arch	string	no"
2642a680c5cSAlexander Ziaee.It Va "hw.realmem	integer	no"
2652a680c5cSAlexander Ziaee.It Va "machdep.adjkerntz	integer	yes"
2662a680c5cSAlexander Ziaee.It Va "machdep.disable_rtc_set	integer	yes"
2672a680c5cSAlexander Ziaee.It Va "machdep.guessed_bootdev	string	no"
2682a680c5cSAlexander Ziaee.It Va "user.cs_path	string	no"
2692a680c5cSAlexander Ziaee.It Va "user.bc_base_max	integer	no"
2702a680c5cSAlexander Ziaee.It Va "user.bc_dim_max	integer	no"
2712a680c5cSAlexander Ziaee.It Va "user.bc_scale_max	integer	no"
2722a680c5cSAlexander Ziaee.It Va "user.bc_string_max	integer	no"
2732a680c5cSAlexander Ziaee.It Va "user.coll_weights_max	integer	no"
2742a680c5cSAlexander Ziaee.It Va "user.expr_nest_max	integer	no"
2752a680c5cSAlexander Ziaee.It Va "user.line_max	integer	no"
2762a680c5cSAlexander Ziaee.It Va "user.re_dup_max	integer	no"
2772a680c5cSAlexander Ziaee.It Va "user.posix2_version	integer	no"
2782a680c5cSAlexander Ziaee.It Va "user.posix2_c_bind	integer	no"
2792a680c5cSAlexander Ziaee.It Va "user.posix2_c_dev	integer	no"
2802a680c5cSAlexander Ziaee.It Va "user.posix2_char_term	integer	no"
2812a680c5cSAlexander Ziaee.It Va "user.posix2_fort_dev	integer	no"
2822a680c5cSAlexander Ziaee.It Va "user.posix2_fort_run	integer	no"
2832a680c5cSAlexander Ziaee.It Va "user.posix2_localedef	integer	no"
2842a680c5cSAlexander Ziaee.It Va "user.posix2_sw_dev	integer	no"
2852a680c5cSAlexander Ziaee.It Va "user.posix2_upe	integer	no"
2862a680c5cSAlexander Ziaee.It Va "user.stream_max	integer	no"
2872a680c5cSAlexander Ziaee.It Va "user.tzname_max	integer	no"
2882a680c5cSAlexander Ziaee.It Va "user.localbase	string	no"
289dea673e9SRodney W. Grimes.El
2906087df9eSRuslan Ermilov.Sh FILES
2912a680c5cSAlexander Ziaee.Bl -tag -width "<netinet/icmp_var.h>" -compact
2926087df9eSRuslan Ermilov.It In sys/sysctl.h
2936087df9eSRuslan Ermilovdefinitions for top level identifiers, second level kernel and hardware
2946087df9eSRuslan Ermilovidentifiers, and user level identifiers
2956087df9eSRuslan Ermilov.It In sys/socket.h
2966087df9eSRuslan Ermilovdefinitions for second level network identifiers
2976087df9eSRuslan Ermilov.It In sys/gmon.h
2986087df9eSRuslan Ermilovdefinitions for third level profiling identifiers
2996087df9eSRuslan Ermilov.It In vm/vm_param.h
3006087df9eSRuslan Ermilovdefinitions for second level virtual memory identifiers
3016087df9eSRuslan Ermilov.It In netinet/in.h
3026087df9eSRuslan Ermilovdefinitions for third level Internet identifiers and
3036087df9eSRuslan Ermilovfourth level IP identifiers
3046087df9eSRuslan Ermilov.It In netinet/icmp_var.h
3056087df9eSRuslan Ermilovdefinitions for fourth level ICMP identifiers
3066087df9eSRuslan Ermilov.It In netinet/udp_var.h
3076087df9eSRuslan Ermilovdefinitions for fourth level UDP identifiers
3086087df9eSRuslan Ermilov.El
3098251b8b8SMateusz Piotrowski.Sh EXIT STATUS
3108251b8b8SMateusz Piotrowski.Ex -std
311dea673e9SRodney W. Grimes.Sh EXAMPLES
312dea673e9SRodney W. GrimesFor example, to retrieve the maximum number of processes allowed
313b91e5f67SSteve Pricein the system, one would use the following request:
314def778b8SRuslan Ermilov.Pp
3152a680c5cSAlexander Ziaee.Dl Va "sysctl kern.maxproc"
316dea673e9SRodney W. Grimes.Pp
317dea673e9SRodney W. GrimesTo set the maximum number of processes allowed
318b91e5f67SSteve Priceper uid to 1000, one would use the following request:
319def778b8SRuslan Ermilov.Pp
3202a680c5cSAlexander Ziaee.Dl Va "sysctl kern.maxprocperuid=1000"
321dea673e9SRodney W. Grimes.Pp
322dea673e9SRodney W. GrimesInformation about the system clock rate may be obtained with:
323def778b8SRuslan Ermilov.Pp
3242a680c5cSAlexander Ziaee.Dl Va "sysctl kern.clockrate"
325dea673e9SRodney W. Grimes.Pp
326d9b1bc77SPhilippe CharnierInformation about the load average history may be obtained with:
327def778b8SRuslan Ermilov.Pp
3282a680c5cSAlexander Ziaee.Dl Va "sysctl vm.loadavg"
3291d86b91cSPoul-Henning Kamp.Pp
3301d86b91cSPoul-Henning KampMore variables than these exist, and the best and likely only place
3311d86b91cSPoul-Henning Kampto search for their deeper meaning is undoubtedly the source where
3321d86b91cSPoul-Henning Kampthey are defined.
3332a6bc064SYaroslav Tykhiy.Sh COMPATIBILITY
3342a6bc064SYaroslav TykhiyThe
3352a6bc064SYaroslav Tykhiy.Fl w
3362a6bc064SYaroslav Tykhiyoption has been deprecated and is silently ignored.
337dea673e9SRodney W. Grimes.Sh SEE ALSO
33897a00e76SAlexey Zelkin.Xr sysctl 3 ,
33943308797SChristian Brueffer.Xr loader.conf 5 ,
34043308797SChristian Brueffer.Xr sysctl.conf 5 ,
3418d7a48d3SOlivier Certner.Xr security 7 ,
3425ec83c66SZhenlei Huang.Xr loader 8 ,
3435ec83c66SZhenlei Huang.Xr jail 8
344dea673e9SRodney W. Grimes.Sh HISTORY
345629e80efSPhilippe CharnierA
346629e80efSPhilippe Charnier.Nm
347629e80efSPhilippe Charnierutility first appeared in
34885cf659aSMike Pritchard.Bx 4.4 .
3491d86b91cSPoul-Henning Kamp.Pp
35085cf659aSMike PritchardIn
351d9b1bc77SPhilippe Charnier.Fx 2.2 ,
352d9b1bc77SPhilippe Charnier.Nm
35385cf659aSMike Pritchardwas significantly remodeled.
3546087df9eSRuslan Ermilov.Sh BUGS
3556087df9eSRuslan ErmilovThe
3566087df9eSRuslan Ermilov.Nm
3576087df9eSRuslan Ermilovutility presently exploits an undocumented interface to the kernel
3580438e9beSMateusz Piotrowski.Xr sysctl 9
3590438e9beSMateusz Piotrowskifacility to traverse the sysctl tree and to retrieve format
3606087df9eSRuslan Ermilovand name information.
3616087df9eSRuslan ErmilovThis correct interface is being thought about for the time being.
362