summaryrefslogtreecommitdiff
path: root/sbin/sysctl
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2013-01-03 10:03:00 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2013-01-03 10:03:00 +0000
commit188ed7dc0f8d0bd6ed66163811e606a0d40bee99 (patch)
treee2af1db2e854d7413c0d0bbf3b736105d2eb99e8 /sbin/sysctl
parente9e95372387806ebe5c64f13c590dd2c3424e71d (diff)
sysctl.3: remove some confusing text about NFS_NIOTHREADS
sysctl.8: remove the vfs.nfs.iothreads example, since a) showing how to set a default value is not particularly helpful and b) EXAMPLES is bloated enough as it is; further, remove the text which points to other pages for further discussion, since those pages no longer provide relevant info diff started by an email from Jan Stary; blambert helped me prepare this diff
Diffstat (limited to 'sbin/sysctl')
-rw-r--r--sbin/sysctl/sysctl.818
1 files changed, 2 insertions, 16 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 7d8e4601860..3f508c1de88 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.164 2012/04/10 15:57:36 guenther Exp $
+.\" $OpenBSD: sysctl.8,v 1.165 2013/01/03 10:02:59 jmc Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)sysctl.8 8.2 (Berkeley) 5/9/95
.\"
-.Dd $Mdocdate: April 10 2012 $
+.Dd $Mdocdate: January 3 2013 $
.Dt SYSCTL 8
.Os
.Sh NAME
@@ -82,7 +82,6 @@ Useful for setting shell variables.
For example, to set the psize shell variable to the pagesize of the hardware:
.Pp
.Dl # set psize=`sysctl -n hw.pagesize`
-.Pp
.It Fl q
Suppress all output when setting a variable.
This option overrides the behaviour of
@@ -509,19 +508,6 @@ It is also possible to add or remove ports from the current list:
# sysctl net.inet.tcp.baddynamic=-871
.Ed
.Pp
-To adjust the number of kernel nfsio
-threads used to service asynchronous
-I/O requests on an NFS client machine:
-.Pp
-.Dl # sysctl vfs.nfs.iothreads=4
-.Pp
-The default is 4; 20 is the maximum.
-See
-.Xr nfssvc 2
-and
-.Xr nfsd 8
-for further discussion.
-.Pp
To set the amount of shared memory available in the system and
the maximum number of shared memory segments:
.Bd -literal -offset indent