1 .\" Copyright 1999, George Staikos (staikos@0wned.org)
2 .\" This file may be used subject to the terms and conditions of the
3 .\" GNU General Public License Version 2, or any later version
4 .\" at your option, as published by the Free Software Foundation.
5 .\" This program is distributed in the hope that it will be useful,
6 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
7 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8 .\" GNU General Public License for more details."
10 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
11 .\" Translated Tue Nov 14 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
12 .\" Updated & Modified Sat Jul 16 14:46:59 JST 2005
13 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
15 .TH SYSCTL 8 "21 Sep 1999" "" ""
18 .\"O sysctl \- configure kernel parameters at runtime
19 sysctl \- 実行時にカーネルパラメータを設定する
22 .B "sysctl [-n] [-e] variable ..."
24 .B "sysctl [-n] [-e] [-q] -w variable=value ..."
26 .B "sysctl [-n] [-e] [-q] -p <filename>"
28 .B "sysctl [-n] [-e] -a"
30 .B "sysctl [-n] [-e] -A"
34 .\"O is used to modify kernel parameters at runtime. The parameters available
35 .\"O are those listed under /proc/sys/. Procfs is required for
37 .\"O support in Linux. You can use
39 .\"O to both read and write sysctl data.
41 はカーネルのパラメータを実行時に修正するのに用いる。
42 変更できるパラメータは /proc/sys/ 以下にリストされているものである。
47 は sysctl データの読み書き両方に使える。
52 .\"O The name of a key to read from. An example is kernel.ostype. The '/'
53 .\"O separator is also accepted in place of a '.'.
54 読み取りの対象とするキーの名前。例えば kernel.ostype など。
55 セパレータとして '.' の代わりに '/' を用いることもできる。
58 .\"O To set a key, use the form variable=value, where variable is the key and
59 .\"O value is the value to set it to. If the value contains quotes or characters
60 .\"O which are parsed by the shell, you may need to enclose the value in double
61 .\"O quotes. This requires the -w parameter to use.
62 キーを設定する形式。 variable はキーで、
63 value がそのキーに設定される値である。
64 value にクォートやシェルによってパーズされる文字が入っている場合は、
65 value 全体をダブルクォートで括る必要がある。
66 この指定をしたら \-w パラメータも指定しなければならない。
69 .\"O Use this option to disable printing of the key name when printing values.
73 .\"O Use this option to ignore errors about unknown keys.
77 .\"O Use this option to only print the names. It may be useful with shells that
78 .\"O have programmable completion.
83 .\"O Use this option to not display the values set to stdout.
87 .\"O Use this option when you want to change a sysctl setting.
88 sysctl の設定を変更する場合には、このオプションを指定する。
91 .\"O Load in sysctl settings from the file specified or /etc/sysctl.conf if none given.
92 指定されたファイルから読み込んだ内容を sysctl 設定にロードする
93 (ファイル指定がなければ /etc/sysctl.conf から)。
96 .\"O Display all values currently available.
100 .\"O Display all values currently available in table form.
101 現在利用できる全ての値を表形式で表示する。
107 /sbin/sysctl -n kernel.hostname
109 /sbin/sysctl -w kernel.domainname="example.com"
111 /sbin/sysctl -p /etc/sysctl.conf
121 .\"O The -A parameter behaves just as -a does.
122 \-A パラメータが \-a と同じようにしか動作しない。
125 George Staikos, <staikos@0wned.org>