Linux parameter modification command linuxsysctllinux-yvmf :~ MansysctlReformattingsysctl (8), pleasewaitSYSCTL (8) SYSCTL (8) NAMEsysct linux system parameter modification command linuxsysctllinux-yvmf :~ # Man sysctl Reformatting sysctl (8), please wait... SYSCTL (8) SYSCTL (8) NAME sysctl-configure kernel parameters at runtime SYNOPSIS sysctl [-n] [-e] variable... sysctl [-n] [-e] [-q]-w variable = value... sysctl [-n] [-e] [-q]-p Sysctl [-n] [-e]-a sysctl [-n] [-e]-a description sysctl is used to modify kernel parameters at runtime. the parameters available are those listed under/proc/sys /. procfs is required for sysctl (8) support in Linux. you can use sysctl (8) to both read and write sysctl data. PARAMETERS variable The name of a key to read from. an example is kernel. ostype. the '/' separator is also accepted in place Of '. '. variable = value To set a key, use the form variable = value, where variable is the key and value is the value to set it. 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. -n Use this option to disable printing of the key name when printing values. -e Use this option to ignor E errors about unknown keys. -N Use this option to only print the names. it may be useful with shells that have programmable completion. -q Use this option to not display the values set to stdout. -w Use this option when you want to change a sysctl setting. -p Load in sysctl settings from the file specified or/etc/sysctl. conf if none given. -a Display all values currently available. -A Display al L values currently available in table form. [html] EXAMPLES (example)/sbin/sysctl-a/sbin/sysctl-n kernel. hostname/sbin/sysctl-w kernel. domainname = "example.com"/sbin/sysctl-p/etc/sysctl. conf FILES (the system parameter file corresponding to the command)/proc/sys/etc/sysctl. conf see also sysctl. after conf (5) is modified, run the sysctl-w command to save the modification. Otherwise, the parameter becomes invalid after the restart.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service