sysctl 常见参数

     Name                 Type          Changeable       示例 & 示意
kern.ostype string no            FreeBSD
kern.osrelease string no            11.0-RELEASE-p1
kern.osrevision integer no            199506 #内核修订版本号,是最小的版本标识
kern.version string no            #最完整的内核版本信息
kern.maxvnodes integer yes            213886 #vnodes 最大数量
kern.maxproc integer no            13556 #系统范围内可以同时运行的进程数量上限
kern.maxprocperuid integer yes            12200 #单个用户可以同时运行的进程数量上限
kern.maxfiles integer yes            261565 #系统范围内总共可以同时打开的最大文件数量
kern.maxfilesperproc integer yes            235404 #单位进程可以打开的文件数量上限
kern.securelevel integer raise only       -1 #系统安全等級 -1 0 1 2 3
kern.hostname string yes
kern.hostid integer yes            kern.hostid: 1894806339 #主机 ID
kern.clockrate struct no  { hz = 1000, tick = 1000, profhz = 8128, stathz = 127 } #各种内核时鈡頻率
kern.boottime struct no  { sec = 1479607603, usec = 336054 } Sun Nov 20 10:06:43 2016 #系统是在什么时间启动的
kern.domainname string yes
kern.filedelay integer yes 30 #系统对常规文件类型执行 sync 同步数据的间隔,单位:秒(sec)
kern.dirdelay integer yes            29 #同上,对目录类型文件
kern.metadelay integer yes            28 #同上,元数据同时时间间隔
kern.bootfile string yes            # 本次启动使用的内核文件的绝对路径
vm.loadavg struct no             { 0.37 0.30 0.24 } #最近 5s 10s 15s 的系统负载
hw.machine string no             amd64 #CPU 架构
hw.model string no             Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz #CPU 型号
hw.ncpu integer no             4 #CPU 数量
hw.byteorder integer no hw.byteorder: 1234 或 4321 #当前 cpu 的字节序是小端还是大端
hw.physmem integer no             #物理内存总量
hw.usermem integer no             #用户空间进程可用内存总量
hw.pagesize integer no             4096 #頁大小

# 常用于脚本中抓取参数值

FreeBSD_11-系统管理——{Part_6 - SYSCTL}的更多相关文章

  1. FreeBSD_11 - 系统管理——{ Part_5 - ZFS }

    参考資料 http://docs.oracle.com/cd/E37934_01/html/E36658/toc.html https://www.freebsd.org/doc/en_US.ISO8 ...

  2. Linux内核模块设计

    内核的设计有两种方式:单内核和微内核,两者各有优劣,关于两者的比较可以参见wiki.windowds和Solaris采用微内核结构. Linux内核采用单内核结构,设计比较简单,但单内核的理念是把所有 ...

  3. 1-linux系统管理(一)之安装RHEL 6.4

    linux系统管理之安装RHEL 6.4 进入安装界面 这里选择跳过 点击下一步 选择安装语言 选择键盘 选择系统储存方式 选择是否格式化储存设备 给安装的系统一个计算机名 选择时区 给root一个密 ...

  4. Linux常用系统管理命令(top、free、kill、df)

    top   -c    #任务管理器 free  -m    #查看内存使用情况 kill  -9   2312 (说明:强制杀死进程 kill  -9  pid ) df   -h    #查看磁盘 ...

  5. centos7系统管理和运维实战

    centos7系统管理和运维实战 centos7安装配置 yum install -y net-tools >/etc/hostname echo "sqlserver01" ...

  6. AIX 5L 系统管理技术 —— 存储管理——卷组

    卷组 在安装系统时,就会创建一个rootvg卷组.包含自带硬盘(内置硬盘)和系统逻辑卷,一个系统只能有一个rootvg卷组.一般情况下rootvg卷组最好只包含自带硬盘. 一.创建卷组 在创建卷组之前 ...

  7. linux 学习 13 系统管理

    第十三讲 Linux系统管理 13.1.1进程管理-进程查看 13.1.2进程管理-终止进程 .2工作管理 .3系统资源查看 .4系统定时任务 13.1.1进程管理-进程查看 .进程简介 进程是正在 ...

  8. Linux快速入门02-文件系统管理

    继续进入Linux文件系统的学习,加油,早日突破MS压在自己身上的那道束缚. Linux系列文章 快速入门系列--Linux--01基础概念 快速入门系列--Linux--02文件系统管理 快速入门系 ...

  9. /etc/sysctl.conf参数解释

    /etc/sysctl.conf参数解释: fs.file max = 999999 #表示进程(例如一个worker进程)可能同时打开的最大句柄数,直接限制最大并发连接数 net.ipv4.tcp_ ...

随机推荐

  1. Xamarin.Froms项目中包含的文件

    Clearly, the program created by the Xamarin.Forms template is very simple, so this is an excellent o ...

  2. Java多线程-线程的同步与锁

    一.同步问题提出 线程的同步是为了防止多个线程访问一个数据对象时,对数据造成的破坏.例如:两个线程ThreadA.ThreadB都操作同一个对象Foo对象,并修改Foo对象上的数据. package ...

  3. Linux进程切换代码分析

    朱宇轲 + 原创作品转载请注明出处 + <Linux内核分析>MOOC课程http://mooc.study.163.com/course/USTC-1000029000 这次我们来分析L ...

  4. link

    public IEnumerable InsuranceSearch(InsuranceSC sc, out int TotalCount) { var data = from q in Insura ...

  5. mybatis-generator-core生成代码

    mybatis-generator-core-1.3.3下载地址:http://blog.mybatis.org/p/products.html 下载后名解压,进入lib目录 修改一个Generato ...

  6. java学习第9天

    形式参数和返回值的问题 (1)形式参数: 类名:需要该类的对象 抽象类名:需要该类的子类对象 接口名:需要该接口的实现类对象 (2)返回值类型: 类名:返回的是该类的对象 抽象类名:返回的是该类的子类 ...

  7. 第五百八十六天至第六百零五天 how ccan I 坚持

    考研中,勿扰... 我是个逗比,哈哈. 时间不够用了呢,哎.

  8. 8.4 H5知识点总结

    HTML简介 HyperText Markup Language 简称为HTML HyperText: 超文本 (文本 + 图片 + 视频 + 音频 + 链接) Markup Language: 标记 ...

  9. linux C学习笔记03--单链表

    单链表一直是程序员的基础,我也来复习下,下面是link.c中的代码,供main.c 调用,代码很简单,单链表的插入,删除,查找和遍历输出, #include <stdio.h> #incl ...

  10. Eclipse相关设置

    eclipse 默认设置的换行长度, 格式化代码后,同一个方法里面参数也经常被,换行,非常难看. 1.Java代码打开Eclipse的Window菜单,然后 Preferences->Java- ...