summaryrefslogtreecommitdiffstats
path: root/patches/procps-3.2.8/10_sysctl.8.dpatch
blob: 7d9ec3e6fdf9c5b7f4f99b37a70526cbff31a85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_sysctl_8.dpatch by  <csmall@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: -p flag has OPTIONAL filename (#297144)
## DP: cleanup ssysctl man page #282168

@DPATCH@
diff -urNad procps-3.2.7~/sysctl.8 procps-3.2.7/sysctl.8
--- procps-3.2.7~/sysctl.8	2006-06-26 09:44:20.000000000 +1000
+++ procps-3.2.7/sysctl.8	2006-06-26 12:42:08.000000000 +1000
@@ -10,76 +10,108 @@
 .SH NAME
 sysctl \- configure kernel parameters at runtime
 .SH SYNOPSIS
-.B "sysctl [-n] [-e] variable ..."
+.B sysctl
+.RB [ \-n ]
+.RB [ \-e ]
+.I variable
+\&...
 .br
-.B "sysctl [-n] [-e] [-q] -w variable=value ..."
+.B sysctl
+.RB [ \-n ]
+.RB [ \-e ]
+.RB [ \-q ]
+.B \-w
+.IR variable = value
+\&...
 .br
-.B "sysctl [-n] [-e] [-q] -p <filename>"
+.B sysctl
+.RB [ \-n ]
+.RB [ \-e ]
+.RB [ \-q ]
+.B \-p
+.RI [ filename ]
 .br
-.B "sysctl [-n] [-e] -a"
+.B sysctl
+.RB [ \-n ]
+.RB [ \-e ]
+.B \-a
 .br
-.B "sysctl [-n] [-e] -A"
+.B sysctl
+.RB [ \-n ]
+.RB [ \-e ]
+.B \-A
 .SH DESCRIPTION
 .B sysctl
 is used to modify kernel parameters at runtime.  The parameters available
 are those listed under /proc/sys/.  Procfs is required for 
-.B sysctl(8)
+.B sysctl
 support in Linux.  You can use
-.B sysctl(8)
+.B sysctl
 to both read and write sysctl data.
 .SH PARAMETERS
 .TP
-.B "variable"
+.I variable
 The name of a key to read from.  An example is kernel.ostype.  The '/'
 separator is also accepted in place of a '.'.
 .TP
-.B "variable=value"
-To set a key, use the form variable=value, where variable is the key and
-value is the value to set it to.  If the value contains quotes or characters
+.IR  variable = value
+To set a key, use the form
+.IR  variable = value
+where
+.I variable
+is the key and
+.I value
+is the value to set it to.  If the value contains quotes or characters
 which are parsed by the shell, you may need to enclose the value in double
-quotes.  This requires the -w parameter to use.
+quotes.  This requires the
+.B \-w
+parameter to use.
 .TP
-.B "-n"
+.B \-n
 Use this option to disable printing of the key name when printing values.
 .TP
-.B "-e"
+.B \-e
 Use this option to ignore errors about unknown keys.
 .TP
-.B "-N"
+.B \-N
 Use this option to only print the names. It may be useful with shells that
 have programmable completion.
 .TP
-.B "-q"
+.B \-q
 Use this option to not display the values set to stdout.
 .TP
-.B "-w"
+.B \-w
 Use this option when you want to change a sysctl setting.
 .TP
-.B "-p"
+.B \-p
 Load in sysctl settings from the file specified or /etc/sysctl.conf if none given.
 Specifying \- as filename means reading data from standard input.
 .TP
-.B "-a"
+.B \-a
 Display all values currently available.
 .TP
-.B "-A"
+.B \-A
 Display all values currently available in table form.
 .SH EXAMPLES
-.TP
-/sbin/sysctl -a
-.TP
-/sbin/sysctl -n kernel.hostname
-.TP
-/sbin/sysctl -w kernel.domainname="example.com"
-.TP
-/sbin/sysctl -p /etc/sysctl.conf 
+/sbin/sysctl \-a
+.br
+/sbin/sysctl \-n kernel.hostname
+.br
+/sbin/sysctl \-w kernel.domainname="example.com"
+.br
+/sbin/sysctl \-p /etc/sysctl.conf 
 .SH FILES
 .I /proc/sys
+.br
 .I /etc/sysctl.conf
 .SH SEE ALSO
 .BR sysctl.conf (5)
 .SH BUGS
-The -A parameter behaves just as -a does.
+The 
+.B \-A
+parameter behaves just as 
+.B \-a
+does.
 .SH AUTHOR
 George Staikos, <staikos@0wned.org>