SYSCTL.CONF(5) SYSCTL.CONF(5)
名前
sysctl.conf - sysctl(8) のプリロード/設定ファイル
説明
sysctl.conf は sysctl の値を含む簡単なファイルであり、 sysctl(8) によっ
て読み込まれ、sysctl 設定に用いられる。書式は以下の通り。
# comment
; comment
token = value
空行は無視され、トークンや値の前後に置かれた空白も無視される。ただし 値
は 空白を含むことができる。 # または ; ではじまる行はコメントとみなされ
、無視される。
例
# sysctl.conf sample
#
kernel.domainname = example.com
; この値には空白が入っており、このまま sysctl に書き込まれる!!
kernel.modprobe = /sbin/mod probe
関連項目
sysctl(8)
著者
George Staikos,
SYSCTL.CONF(5) SYSCTL.CONF(5)
NAME
sysctl.conf - sysctl(8) preload/configuration file
DESCRIPTION
sysctl.conf is a simple file containing sysctl values to be read in and
set by sysctl(8). The syntax is simply as follows:
# comment
; comment
token = value
Note that blank lines are ignored, and whitespace before and after a
token or value is ignored, although a value can contain whitespace
within. Lines which begin with a # or ; are considered comments and
ignored.
NOTES
As the /etc/sysctl.conf file is used to override default kernel parame-
ter values, only a small number of parameters is predefined in the
file. Use /sbin/sysctl -a or follow sysctl(8) to list all possible
parameters. The description of individual parameters can be found in
the kernel documentation.
EXAMPLE
# sysctl.conf sample
#
kernel.domainname = example.com
; this one has a space which will be written to the sysctl!
kernel.modprobe = /sbin/mod probe
SEE ALSO
sysctl(8)
AUTHOR
George Staikos,
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa