Commit Graph

77 Commits

Author SHA1 Message Date
itojun
8ba8c58e74 remove net.key.random_int 2004-08-27 04:58:10 +00:00
snj
7c289c6773 Bump date for last. 2004-04-28 20:28:39 +00:00
ragge
e79327fe4a Note net.inet.arp.* entries. 2004-04-28 14:15:10 +00:00
wiz
bb06082698 Remove duplicate and superfluous words. 2004-03-24 23:49:13 +00:00
snj
463ea56ee8 Bump date for last. 2004-03-24 19:11:06 +00:00
atatat
4723bb21ba Bring sysctl man pages up to date (wrt new query interface, the
versioning, and descriptions).
2004-03-24 18:22:30 +00:00
wiz
5b067ce441 Bump date for previous. 2004-01-22 07:31:53 +00:00
jonathan
7fde685464 Document net.bpf.maxbufsize in sysctl(8).
NB: bpf isn't a PF_, so where to list it in sysctl(3)?
2004-01-22 03:50:18 +00:00
atatat
bc0bdd10f7 Used to say "type=", but now says "size=" since that's what it's
supposed to say.
2004-01-08 03:44:48 +00:00
wiz
a96b21c57d Simplify Oo/Oc to Op, since it has only one simple short argument. 2003-12-31 01:21:49 +00:00
atatat
fd2ec30242 Update sysctl.8 man page to cover all the new stuff. 2003-12-30 14:17:41 +00:00
wiz
33261e069b Slight option ordering change. 2003-10-15 19:58:24 +00:00
dsl
4cb1ff990c Forgot the date.... 2003-09-27 19:07:12 +00:00
dsl
0188e8d8ce Add kern.drivers and kern.root_partition to match recent kern_sysctl.c
Add kern.root_device which was absent.
2003-09-27 18:57:05 +00:00
wiz
0ba80f40e8 Combine multiple single-letter options. 2003-09-21 15:23:55 +00:00
grant
76036fea3c add -e flag to set the separator to '=' where the default is ' = '.
this allows sysctl output to fed back into itself. inspired by
FreeBSD's sysctl(8).

ok'd by atatat.
2003-09-20 17:02:17 +00:00
grant
9bf724618c put flags in a list with descriptions. add proper description of -w. 2003-09-17 18:24:47 +00:00
wiz
bf2d0ca599 Mention /etc/sysctl.conf. Bump date. Closes PR 22213. 2003-08-07 10:11:02 +00:00
agc
276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
wiz
f4e5486eb2 Bump date for last, and replace some \*[Lt]/\*[Gt] with .Aq. 2003-07-04 13:32:13 +00:00
ragge
9e60a88e86 Add somaxkva. 2003-07-03 20:15:28 +00:00
christos
7e60cdc11e add tcp.ident. 2003-04-19 21:55:48 +00:00
christos
a16e9fc559 add checkinterface 2003-04-12 04:32:54 +00:00
wiz
676e42ffce Consistent tab usage. 2003-03-17 08:00:38 +00:00
wiz
83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
thorpej
5fbe4e61de hw.physpages -> hw.physmem64, hw.userpages -> hw.usermem64 2003-03-06 20:36:51 +00:00
thorpej
3cdf0a27ee Document net.inet.tcp.init_win_local. 2003-03-01 04:43:42 +00:00
thorpej
b4271997ce Document hw.physpages and hw.userpages. 2003-02-27 01:42:10 +00:00
kleink
71d7654509 Add sysconf(3) knobs for recent additions. 2003-02-02 20:33:05 +00:00
kleink
b971350427 Add several missing items, and be less rageous about memory locking. 2003-02-01 00:42:03 +00:00
jdolecek
5fd22809a5 Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
scw
39a5a9dc76 Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
manu
9a4dfe85fa Added two sysctl-able flags: proc.curproc.stopfork and proc.curproc.stopexec
that can be used to block a process after fork(2) or exec(2) calls. The
new process is created in the SSTOP state and is never scheduled for running.

This feature is designed so that it is esay to attach the process using gdb
before it has done anything.

It works also with sproc, kthread_create, clone...
2002-11-07 00:22:28 +00:00
wiz
09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
wiz
56accd8baf Replace some \*[Lt]...\*[Gt] with .Aq ... 2002-10-01 14:57:46 +00:00
msaitoh
48b457ab6c document vfs.nfs.iothreads 2002-05-29 23:30:50 +00:00
itojun
256a128339 document net.inet6.ip6.maxfrags 2002-05-28 03:17:26 +00:00
itojun
9244bd8154 document net.key.* sysctl. provide sysctl MIB for controlling
proposal payload on ACQUIRE message.  sync w/kame
2002-05-19 08:12:55 +00:00
itojun
b5f1426ee0 rename: net.inet6.ip6.bindv6only -> net.inet6.ip6.v6only
sync w/kame.
2002-05-14 10:27:28 +00:00
sommerfeld
1803fb93a9 Add -q flag, for use with -w and -f, which suppresses output after a set. 2002-03-24 00:11:00 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
simonb
adce1e7c12 Document the new kern.tkstat.* sysctls. 2002-01-28 02:07:01 +00:00
simonb
f8f98db732 Prod from lukem - remember to add hw.disk* here too. 2002-01-27 13:04:21 +00:00
chs
2981550892 update for changed vm knobs. 2001-12-24 00:49:36 +00:00
wiz
f1dd0210ab Sort sections, whitespace nits. 2001-10-30 07:28:22 +00:00
kml
1d2a82ea66 Added descriptions of the new sysctls for controlling the disposition
of IPv4 routes added via redirects, rediraccept and redirtimeout.
2001-10-30 06:43:21 +00:00
hubertf
5ad165ca8f Remove duplicate listing of "net.inet.tcp.init_win" system variable as
reported in PR 13760 by Don Yuniskis <auryn@gci-net.com>
2001-08-20 10:31:46 +00:00
jdolecek
ee882e3a09 Add port of high performance pipe implementation written by John S. Dyson
for FreeBSD project. Besides huge speed boost compared with socketpair-based
pipes, this implementation also uses pagable kernel memory instead of mbufs.

Significant differences to FreeBSD version:
* uses uvm_loan() facility for direct write
* async/SIGIO handling correct also for sync writer, async reader
* limits settable via sysctl, amountpipekva and nbigpipes available via sysctl
* pipes are unidirectional - this is enforced on file descriptor level
	for now only, the code would be updated to take advantage of it
	eventually
* uses lockmgr(9)-based locks instead of home brew variant
* scatter-gather write is handled correctly for direct write case, data
  is transferred by PIPE_DIRECT_CHUNK bytes maximum, to avoid running out of kva

All FreeBSD/NetBSD specific code is within appropriate #ifdef, in preparation
to feed changes back to FreeBSD tree.

This pipe implementation is optional for now, add 'options NEW_PIPE'
to your kernel config to use it.
2001-06-16 12:00:02 +00:00
itojun
4b72eeeee5 net.inet.ip.maxfragpackets defines the maximum size of ip reass queue
(prevents fragment flood from chewing up mbuf memory space).
derived from KAME net.inet6.ip6.maxfragpackets.
2001-03-27 02:24:38 +00:00
chs
83d071a318 add UBC memory-usage balancing. we track the number of pages in use for
each of the basic types (anonymous data, executable image, cached files)
and prevent the pagedaemon from reusing a given page if that would reduce
the count of that type of page below a sysctl-setable minimum threshold.
the thresholds are controlled via three new sysctl tunables:
vm.anonmin, vm.vnodemin, and vm.vtextmin.  these tunables are the
percentages of pageable memory reserved for each usage, and we do not allow
the sum of the minimums to be more than 95% so that there's always some
memory that can be reused.
2001-03-09 01:02:10 +00:00