⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysctl.8

📁 Linux下进程监控相关源代码
💻 8
字号:
.\" Copyright 1999, George Staikos (staikos@0wned.org).\" This file may be used subject to the terms and conditions of the.\" GNU General Public License Version 2, or any later version.\" at your option, as published by the Free Software Foundation..\" This program is distributed in the hope that it will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details.".TH SYSCTL 8 "21 Sep 1999" "" "".SH NAMEsysctl \- configure kernel parameters at runtime.SH SYNOPSIS.B "sysctl [-n] variable ...".br.B "sysctl [-n] -w variable=value ...".br.B "sysctl [-n] -p <filename>    (default /etc/sysctl.conf)".br.B "sysctl [-n] -a".br.B "sysctl [-n] -A".SH DESCRIPTION.B sysctlis used to modify kernel parameters at runtime.  The parameters availableare those listed under /proc/sys/.  Procfs is required for .B sysctl(8)support in Linux.  You can use.B sysctl(8)to both read and write sysctl data..SH PARAMETERS.TP.B "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 andvalue is the value to set it to.  If the value contains quotes or characterswhich are parsed by the shell, you may need to enclose the value in doublequotes.  This requires the -w parameter to use..TP.B "-n"Use this option to disable printing of the key name when printing values..TP.B "-w"Use this option when you want to change a sysctl setting..TP.B "-p"Load in sysctl settings from the file specified or /etc/sysctl.conf if none given..TP.B "-a"Display all values currently available..TP.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 .SH FILES.I /proc/sys.I /etc/sysctl.conf.SH SEE ALSO.BR sysctl.conf (5).SH BUGSThe -A parameter behaves just as -a does..SH AUTHORGeorge Staikos, <staikos@0wned.org>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -