sysctl
List and change kernel runtime variables. More information: https://manned.org/sysctl.8.
- Show all available variables and their values:
sysctl
- Set a changeable kernel state variable:
sysctl =
- Get currently open file handlers:
sysctl fs.file-nr
- Get limit for simultaneous open files:
sysctl fs.file-max
- Get the value of any runtime variable:
sysctl
- Print only the value without the variable name:
sysctl
- Apply changes from
/etc/sysctl.conf:
sysctl
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
