OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / procps / draft / man8 / sysctl.8
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."
9 .\"
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>
14 .\"
15 .TH SYSCTL 8 "21 Sep 1999" "" ""
16 .\"O .SH NAME
17 .SH 名前
18 .\"O sysctl \- configure kernel parameters at runtime
19 sysctl \- 実行時にカーネルパラメータを設定する
20 .\"O .SH SYNOPSIS
21 .SH 書式
22 .B "sysctl [-n] [-e] variable ..."
23 .br
24 .B "sysctl [-n] [-e] [-q] -w variable=value ..."
25 .br
26 .B "sysctl [-n] [-e] [-q] -p <filename>"
27 .br
28 .B "sysctl [-n] [-e] -a"
29 .br
30 .B "sysctl [-n] [-e] -A"
31 .\"O .SH DESCRIPTION
32 .SH 説明
33 .\"O .B sysctl
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 
36 .\"O .B sysctl(8)
37 .\"O support in Linux.  You can use
38 .\"O .B sysctl(8)
39 .\"O to both read and write sysctl data.
40 .B sysctl
41 はカーネルのパラメータを実行時に修正するのに用いる。
42 変更できるパラメータは /proc/sys/ 以下にリストされているものである。
43 Linux における
44 .B sysctl
45 の機能には procfs が必要である。
46 .B sysctl
47 は sysctl データの読み書き両方に使える。
48 .\"O .SH PARAMETERS
49 .SH パラメータ
50 .TP
51 .B "variable"
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 セパレータとして '.' の代わりに '/' を用いることもできる。
56 .TP
57 .B "variable=value"
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 パラメータも指定しなければならない。
67 .TP
68 .B "-n"
69 .\"O Use this option to disable printing of the key name when printing values.
70 キーの名前は表示せず、値だけ表示する。
71 .TP
72 .B "-e"
73 .\"O Use this option to ignore errors about unknown keys.
74 不明なキーについてのエラーを無視する。
75 .TP
76 .B "-N"
77 .\"O Use this option to only print the names. It may be useful with shells that
78 .\"O have programmable completion.
79 名前のみを表示する。
80 プログラム補完を持つシェルで役立つ。
81 .TP
82 .B "-q"
83 .\"O Use this option to not display the values set to stdout.
84 値のセットを標準出力に表示しない。
85 .TP
86 .B "-w"
87 .\"O Use this option when you want to change a sysctl setting.
88 sysctl の設定を変更する場合には、このオプションを指定する。
89 .TP
90 .B "-p"
91 .\"O Load in sysctl settings from the file specified or /etc/sysctl.conf if none given.
92 指定されたファイルから読み込んだ内容を sysctl 設定にロードする
93 (ファイル指定がなければ /etc/sysctl.conf から)。
94 .TP
95 .B "-a"
96 .\"O Display all values currently available.
97 現在利用できる全ての値を表示する。
98 .TP
99 .B "-A"
100 .\"O Display all values currently available in table form.
101 現在利用できる全ての値を表形式で表示する。
102 .\"O .SH EXAMPLES
103 .SH 例
104 .TP
105 /sbin/sysctl -a
106 .TP
107 /sbin/sysctl -n kernel.hostname
108 .TP
109 /sbin/sysctl -w kernel.domainname="example.com"
110 .TP
111 /sbin/sysctl -p /etc/sysctl.conf 
112 .\"O .SH FILES
113 .SH ファイル
114 .I /proc/sys
115 .I /etc/sysctl.conf
116 .\"O .SH SEE ALSO
117 .SH 関連項目
118 .BR sysctl.conf (5)
119 .\"O .SH BUGS
120 .SH バグ
121 .\"O The -A parameter behaves just as -a does.
122 \-A パラメータが \-a と同じようにしか動作しない。
123 .\"O .SH AUTHOR
124 .SH 著者
125 George Staikos, <staikos@0wned.org>