网站大量收购闲置独家精品文档,联系QQ:2885784924

sysctl.conf配置文件详解(国外英文资料).doc

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档