History log of /freebsd-9.3-release/sbin/sysctl/sysctl.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 217522 17-Jan-2011 mdf

Fix typo and bump date.


# 217521 17-Jan-2011 mdf

The kernel is not exporting any "T,dev_t" sysctl nodes anymore, so
remove the capability and mention from sysctl(8).


# 203547 06-Feb-2010 gavin

Add the -i option to the synopsis.

Submitted by: dhw
MFC after: 1 week (with r203310)


# 203310 31-Jan-2010 gavin

Implement the "-i" option to sysctl(8), to ignore failures while
retrieving individual OIDs. This allows the same list of OIDs to be
passed to sysctl(8) across different systems where particular OIDs may not
exist, and still get as much information as possible from them.

PR: bin/123644
Submitted by: dhw
Approved by: ed (mentor)
MFC after: 2 weeks


# 174024 28-Nov-2007 remko

Remove mentionings of kern.dumpdev which is no longer available.

PR: docs/113570
Submitted by: lawrance
MFC After: 3 days (where applicable)


# 172674 15-Oct-2007 netchild

Backout sensors framework.

Requested by: phk
Discussed on: cvs-all


# 172631 14-Oct-2007 netchild

Import OpenBSD's sysctl hardware sensors framework.

This commit includes the following core components:

* sample configuration file for sensorsd
* rc(8) script and glue code for sensorsd(8)
* sysctl(3) doc fixes for CTL_HW tree
* sysctl(3) documentation for hardware sensors
* sysctl(8) documentation for hardware sensors
* support for the sensor structure for sysctl(8)
* rc.conf(5) documentation for starting sensorsd(8)
* sensor_attach(9) et al documentation
* /sys/kern/kern_sensors.c
o sensor_attach(9) API for drivers to register ksensors
o sensor_task_register(9) API for the update task
o sysctl(3) glue code
o hw.sensors shadow tree for sysctl(8) internal magic
* <sys/sensors.h>
* HW_SENSORS definition for <sys/sysctl.h>
* sensors display for systat(1), including documentation
* sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by: Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by: syrinx
Tested by: many
OKed by: kensmith
Obtained from: OpenBSD (parts)


# 171955 24-Aug-2007 danger

document hw.realmem

Submitted by: cnst@ (Constantine A. Murenin)
Sponsored by: Google Summer of Code 2007
Approved by: re@ (bmah)
MFC after: 1 week


# 152568 18-Nov-2005 ru

-mdoc sweep.


# 150167 15-Sep-2005 rwatson

Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/
errors generated. In particular, it suppresses "unknown oid" when
attempting to get or set a sysctl not present in the kernel.

MFC after: 1 week


# 148011 14-Jul-2005 brueffer

- Remove MLINKS to nonexistant manpages
- Change some section numbers to match reality
- For MLINKS to manpages from ports, mention which port installs them

MFC after: 3 days


# 140415 18-Jan-2005 ru

Sort sections.


# 139987 10-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 138421 05-Dec-2004 hmp

Code for automatic name completion in a tcsh(1) environment.

PR: docs/44435
Submitted by: Slaven Rezic slaven dot rezic at berlin dot de


# 128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 122254 07-Nov-2003 des

Alphabetization braino.

Pointed out by: johan


# 122233 07-Nov-2003 des

Add a command-line option to format output for human readability.
Currently, the only effect it has is to print some (but not all) numbers
using thousands separators.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 116038 08-Jun-2003 charnier

.Nm -> .Xr


# 115121 17-May-2003 brueffer

Clarify setting sysctl variables via loader(8) tunables

* s/can not/cannot/

Submitted by: ru (*)
Approved by: re (rwatson)


# 115092 16-May-2003 brueffer

Add information about setting sysctl variables via loader(8) and
loader.conf(5)

PR: 38426 (slightly modified)
Submitted by: Phil Pennock <pdp@nl.demon.net>
Approved by: re (bmah)
MFC after: 3 days


# 99503 06-Jul-2002 charnier

The .Nm utility.


# 92338 15-Mar-2002 ru

mdoc(7) police: tiny fixes.


# 92141 12-Mar-2002 luigi

Document the existence of machdep.guessed_bootdev, as suggested
by Sheldon.
For a detailed description look at the commit log for sysctl.c
rev.1.42 -- i do not think it is appropriate to put the full
description in this manpage, and the "boot" and "loader" manpages
where this description might go are also missing a description of
a number of similar variables, so i think this it is ok to limit
documentation to this now, and update it later when I (or someone
else) have a chance to revise "boot" and "loader".


# 91997 10-Mar-2002 dd

Document `sysctl variable=/dev/foo' syntax.

PR: 34184
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>


# 89414 16-Jan-2002 arr

- Attempt to help declutter kern. sysctl by moving security out from
beneath it.

Reviewed by: rwatson


# 88006 16-Dec-2001 luigi

Add code to export and print the description associated to sysctl
variables. Use the -d flag in sysctl(8) to see this information.

Possible extensions to sysctl:
+ report variables that do not have a description
+ given a name, report the oid it maps to.

Note to developers: have a look at your code, there are a number of
variables which do not have a description.

Note to developers: do we want this in 4.5 ? It is a very small change
and very useful for documentation purposes.

Suggested by: Orion Hodson


# 87152 30-Nov-2001 rwatson

o Update sysctl.8 to reflect renaming of various security-related
sysctls, and to introduce new ones.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs


# 85769 31-Oct-2001 tobez

Replace `=' with more correct ``.Ql =''.

Mdoc-policed by: ru


# 85747 30-Oct-2001 tobez

Implement -e option. It modifies the output produced by sysctl(8) in
such a way that the name and the value of the variable(s) are separated
with `=' instead of the usual `: '. This is useful for producing output
that can be fed back to the sysctl utility (pasted to sysctl.conf, for
example).

Reviewed by: rwatson
Approved by: markm
MFC after: 2 weeks


# 81045 02-Aug-2001 yar

Document the deprecated `-w' option in the COMPATIBILITY section.


# 80634 30-Jul-2001 yar

Since the ``-w'' sysctl(8) option has been deprecated,
don't mention it in the manpages.


# 79658 13-Jul-2001 ru

mdoc(7) police: -xwidth has been fold into -width.


# 79314 05-Jul-2001 ru

mdoc(7) police: fixed formatting.


# 77894 08-Jun-2001 dd

Remove xref to blackhole(4). sysctl has nothing to do with
blackhole(4), except that blackhole(4) uses sysctl's. This xref
obviously isn't appropriate unless we want to xref all the other man
pages which mention sysctls, which we obviously don't (we may want to
list those sysctls, but that's another story).

PR: 27937
Submitted by: yar


# 77374 28-May-2001 dd

Update the document date after DES's updates, move the description of
the -b option below -a to maintain alphabetical order, and add a
missing ".It" before "Fl o".


# 77330 28-May-2001 des

Try to make sysctl options slightly more orthogonal:

- introduce a -o option that displays opaque variables.
- introduce a -x option that displays opaque variables in full.
- deprecate -A in favor of -ao and -X in favor of -ax.
- remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION).
- ignore -a if one or more variables were listed on the command line.
- deprecate -w, it is not needed to determine the user's intentions.
- some language and style cleanup in the man page.

This commit should not break any existing scripts.

MFC after: 4 weeks


# 71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 71043 14-Jan-2001 des

Document the -N option in the usage message and the man page.


# 70192 19-Dec-2000 ru

Prepare for mdoc(7)NG.


# 70025 14-Dec-2000 phantom

Add missing coma in SEE ALSO section

Reported by: Rich Morin <rdm@cfcl.com>


# 68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 63939 27-Jul-2000 obrien

Add reference to sysctl.conf.


# 63881 26-Jul-2000 sheldonh

Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelay
and kern.metadelay, thanks to mckusick's feedback.


# 61283 05-Jun-2000 rwatson

o Mention kern.suser_permitted

Obtained from: TrustedBSD Project


# 57516 26-Feb-2000 steve

Use 'following' instead of 'follow' in a couple of places for a slightly
better read.


# 53562 22-Nov-1999 des

To clarify the previous log message: belatedly back out rev. 1.20 of
sysctl.c and rev. 1.18 of sysctl.8, which added an option to show sysctl
descriptions instead of their values. The kernel side of this was ripped
out by a certain axe-bearing Dane a long time ago.

PR: 15012


# 53561 22-Nov-1999 des

Belatedly back out rev. 1.20.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49974 17-Aug-1999 csgr

Add reference to blackhole(4)


# 42456 10-Jan-1999 des

Clean up option handling a little.
Add an option for showing sysctl descriptions instead of their values.


# 39743 29-Sep-1998 jkoshy

`kern.maxproc' is not changeable using sysctl(1). Change examples
that show `kern.maxproc' being written.

PR: docs/7978
Submitted by: jlemon@americantv.com


# 37943 29-Jul-1998 joerg

Document the kern.logsigexit sysctl variable (sort of).

Reminded by: bde


# 37810 21-Jul-1998 joerg

Document sef's recent changes in the corefile naming.
Reviewed by: sef (well, i believe his `Looks good' was a review result :)


# 30602 20-Oct-1997 charnier

Use err(3). Change err(-1,... to err(1,...


# 28917 30-Aug-1997 kato

Added hw.machine_arch.


# 22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 18537 28-Sep-1996 bde

Removed references to pathconf-related variables that were never handled
by sysctl and never can be in their documented form (kern.name_max would
have to become fs.filesystemname.name_max, etc.).

Added missing references to user.stream_max and user.tzname_max. These
seem to misnamed. <sys/sysconf.h> says that they correspond to POSIX2
names, but the sysconf names don't have POSIX2 or "posix2" like all the
other POSIX2 names.


# 17786 22-Aug-1996 mpp

Use the .Fx macro where appropriate.


# 13744 30-Jan-1996 mpp

Fix a bunch of spelling errors in a bunch of man pages.


# 12946 21-Dec-1995 phk

The rewamped sysctl program that will find all the variables itself.
Also a couple of handy new options.


# 6577 20-Feb-1995 guido

Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:


# 6473 15-Feb-1995 wollman

Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there. (Someday there might be.)


# 3681 18-Oct-1994 ache

Remove machdep.color_display


# 3666 17-Oct-1994 ache

Document new machdep variables, pointed by Rod


# 3037 23-Sep-1994 wollman

Document more MIB variables.


# 1554 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.


# 1553 26-May-1994 rgrimes

BSD 4.4 Lite usr.sbin Sources