Sysctl [摘]
来源:互联网 发布:航天开盘软件 编辑:程序博客网 时间:2024/06/05 02:15
Sysctl is an interface for examining and dynamically changing parameters in the BSD and Linux operating systems. The implementation mechanism in these two systems is very different.
In BSD, these parameters are generally objects in a management information base (MIB) that describe tunable limits such as the size of a shared memory segment, the number of threads the operating system will use as an NFS client, or the maximum number of processes on the system; or describe, enable or disable behaviors such as IP forwarding, security restrictions on the superuser (the "securelevel"), or debugging output.
In BSD, a system call or system call wrapper is usually provided for use by programs, as well as an administrative program and a configuration file (for setting the tunable parameters when the system boots).
This feature appeared in 4.4BSD. It has the advantage over hardcoded constants that changes to the parameters can be made dynamically without recompiling the kernel.
In Linux, the sysctl interface mechanism is also exported as part of procfs under the /proc/sys directory (not to be confused with the /sys directory). This difference means checking the value of some parameter requires opening a file in a virtual file system, reading its contents, parsing them and closing the file. The sysctl system call does exist on Linux, but does not have a wrapping function in glibc and is not recommended for use- Sysctl [摘]
- sysctl
- sysctl
- sysctl
- sysctl tip
- 关于sysctl
- LINUX---sysctl
- sysctl 函数
- sysctl命令
- sysctl 命令
- sysctl配置
- sysctl 说明
- sysctl.conf
- sysctl函数
- sysctl用法
- sysctl命令
- sysctl命令
- sysctl 系统配置
- [php] 索引数组合并选择两数组相加
- 解析txt文件数据
- 如何配置XAMPP的虚拟主机[转]
- 为XAMPP添加MemCache支持【转】
- Vue--缩写
- Sysctl [摘]
- <meta http-equiv=\"refresh\" content=\"0; url=\"> 【转】
- C语言——内存管理
- SVN操作
- LINUX命令行 查看memcache运行状态
- LADP使用
- socket阻塞和非阻塞的区别【转】
- C语言static关键字解析 【转】
- main (int argc,char *argv[ ]) 与 getopt