- 1、本文档共13页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
sysctl.conf配置文件详解(国外英文资料)
sysctl.conf配置文件详解(国外英文资料)
Sysctl is a tool used to view and adjust system parameters during system operation. Some sysctl parameters is used to return the current state of the system, such as the return has boot time, use the version of the operating system, the core name and so on; and some that we can modify the parameters to adjust the operation of the system, such as network temporary memory size and maximum number of on-line and so on. These parameters that can be adjusted must be set up before a boot system executes other programs, and some can be adjusted at boot time.
First, we can use the following instructions to see all of the current sysctl parameters and their status:
Sysctl -a more | #
Kern.ostype: FreeBSD
Kern.osrelease: 5.2.1-RELEASE
Kern.osrevision: 199506
Kern.version:, FreeBSD, 5.2.1-RELEASE, #0:, Sun, Apr, 11, 16:16:08, CST, 2004
Alex@:/usr/src/sys/i386/compile/ALEX
Kern.maxvnodes: 17812
Kern.maxproc: 2020
Kern.maxfiles: 4040
Kern.argmax: 65536
Kern.securelevel: -1
Kern.hostname:
Kern.hostid: 0
Kern.clockrate: {Hz = 100, tick = 10000, profhz = 1024, stathz = 128}
Kern.posix1version: 200112
Kern.ngroups: 16
Kern.job_control: 1
Kern.saved_ids: 0
Kern.boottime: {sec = 1081672724, USEC = 885137} Sun Apr 11 16:38:44 2004
Kern.domainname:
Kern.osreldate: 502010
Kern.bootfile: /boot/kernel/kernel
Kern.maxfilesperproc: 3636
Kern.maxprocperuid: 1818
Kern.ipc.maxsockbuf: 262144
Kern.ipc.sockbuf_waste_factor: 8
Kern.ipc.somaxconn: 128
Kern.ipc.max_linkhdr: 16
Kern.ipc.max_protohdr: 60
Kern.ipc.max_hdr: 76
Kern.ipc.max_datalen: 132
Kern.ipc.nmbclusters: 9024
......... Slightly.........
We can also use sysctl to display single parameter values, for example:
# sysctl kern.ipc.maxsockbuf
Kern.ipc.maxsockbuf: 262144
Not all parameters can be adjusted with sysctl, and some parameters do not have much impact on performance. We are here only to illustrate some of the more obvious settings.
9.2.1 kern.ipc.maxsockets
This is used to set the maximum number of socket
您可能关注的文档
最近下载
- 物理八年上第3章物态变化第1节温度1市公开课一等奖省优质课赛课一等奖课件.pptx VIP
- 交通教育安全教案.docx VIP
- 全过程工程咨询设计管理制度.docx VIP
- 高中语文必修2《离骚》《孔雀东南飞》之挖空训练答案.doc VIP
- 2020市域网格化治理标准体系建设指南.docx
- 异位妊娠小讲课PPT.pptx VIP
- 四川省南充市仪陇县金城片区2022-2023学年九年级上学期第一次月考语文试卷和答案详解.pdf
- Linux网络操作系统项目教程(RHEL7.4CentOS7.4)电子教案.docx VIP
- 中国偏头痛诊治指南(2022版).pdf VIP
- 全过程工程咨询项目部管理制度.docx VIP
文档评论(0)