Use of sysctl command

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.

Examples
/sbin/sysctl -a
/sbin/sysctl -n kernel.hostname
/sbin/sysctl -w kernel.domainname="example.com"
/sbin/sysctl -p /etc/sysctl.conf

 

 

Published 72 original articles · praised 4 · 40,000+ views

Guess you like

Origin blog.csdn.net/qq_15156403/article/details/102386621