当前位置: 首页 > news >正文

大竹网站建设网站设计建设 公司

大竹网站建设,网站设计建设 公司,外贸假发 网站,松原网站建设公司电话Linux系统之dool命令行工具的基本使用一、dool命令行工具介绍二、本地系统环境检查1.检查系统版本2.检查系统内核版本三、下载dool软件包1.创建下载目录2.下载dool四、安装dool1.安装python32.安装dool五、dool的命令帮助六、dool的基本使用1.直接使用dool监控系统2.监控cpu和网… Linux系统之dool命令行工具的基本使用一、dool命令行工具介绍二、本地系统环境检查1.检查系统版本2.检查系统内核版本三、下载dool软件包1.创建下载目录2.下载dool四、安装dool1.安装python32.安装dool五、dool的命令帮助六、dool的基本使用1.直接使用dool监控系统2.监控cpu和网络接口3.监控内存和磁盘4.监控cpu/负载/swap一、dool命令行工具介绍 Dool 是一个命令行工具用于监控系统的许多方面CPU、内存、网络、平均负载等。它还包括一个强大的插件架构可以监控其他系统指标。 二、本地系统环境检查 1.检查系统版本 [rootjeven ~]# cat /etc/os-release NAMECentOS Linux VERSION7 (Core) IDcentos ID_LIKErhel fedora VERSION_ID7 PRETTY_NAMECentOS Linux 7 (Core) ANSI_COLOR0;31 CPE_NAMEcpe:/o:centos:centos:7 HOME_URLhttps://www.centos.org/ BUG_REPORT_URLhttps://bugs.centos.org/CENTOS_MANTISBT_PROJECTCentOS-7 CENTOS_MANTISBT_PROJECT_VERSION7 REDHAT_SUPPORT_PRODUCTcentos REDHAT_SUPPORT_PRODUCT_VERSION7 2.检查系统内核版本 [rootjeven ~]# uname -r 6.1.8-1.el7.elrepo.x86_64 三、下载dool软件包 1.创建下载目录 [rootjeven ~]# mkdir -p /data/dool [rootjeven ~]# cd /data/dool [rootjeven dool]# 2.下载dool https://github.com/scottchiefbaker/dool.git四、安装dool 1.安装python3 yum -y install python3 2.安装dool [rootjeven dool]# cd dool/ [rootjeven dool]# ls AUTHORS ChangeLog COPYING docs dool examples install.py Makefile packaging plugins README.md [rootjeven dool]# python3 install.py You are root, doing a local installInstalling binaries to /usr/bin/ Installing plugins to /usr/share/dool/ Installing manpages to /usr/share/man/man1/Install complete. Dool installed to /usr/bin/dool 五、dool的命令帮助 [rootjeven dool]# dool --help Usage: dool [options] [delay] [count]Versatile tool for generating system resource statisticsDool options:-c, --cpu enable cpu stats-C 0,3,total include cpu0, cpu3 and total-d, --disk enable disk stats-D total,hda include hda and total-g, --page enable page stats-i, --int enable interrupt stats-I 5,eth2 include int5 and interrupt used by eth2-l, --load enable load stats-m, --mem enable memory stats-n, --net enable network stats-N eth1,total include eth1 and total-p, --proc enable process stats-r, --io enable io stats (I/O requests completed)-s, --swap enable swap stats-S swap1,total include swap1 and total-t, --time enable time/date output-T, --epoch enable time counter (seconds since epoch)-y, --sys enable system stats--aio enable aio stats--fs, --filesystem enable fs stats--ipc enable ipc stats--lock enable lock stats--raw enable raw stats--socket enable socket stats--tcp enable tcp stats--udp enable udp stats--unix enable unix stats--vm enable vm stats--vm-adv enable advanced vm stats--zones enable zoneinfo stats--list list all available plugins--plugin-name enable external plugin by name (see --list)--defaults equals -cdnlt--more equals -cdnmplt-a, --all equals -cdngmyplt-f, --full automatically expand -C, -D, -I, -N and -S lists-v, --vmstat equals -pmgdsc -D total--bits force bits for values expressed in bytes--bytes force bytes for output measurements--float force float values on screen--integer force integer values on screen--bw, --black-on-white change colors for white background terminal--color force colors--nocolor disable colors--noheaders disable repetitive headers--noupdate disable intermediate updates--output file write CSV output to file--profile show profiling statistics when exiting dool--ascii output table in ascii not unicode box drawingdelay is the delay in seconds between each update (default: 1) count is the number of updates to display before exiting (default: unlimited) 六、dool的基本使用 1.直接使用dool监控系统 [rootjeven dool]# dool Using default plugins: cpu, disk, net, load ┄┄total┄cpu┄usage┄┄┬┄dsk/total┄┬┄net/total┄┬┄┄┄load┄avg┄┄┄┬┄┄┄┄┄system┄┄┄┄ usr sys idl wai stl│ read writ│ recv send│ 1m 5m 15m │ time 0 0 99 0 0│ 373K 1639K│ 0 0 │0.05 0.09 0.06│Feb-11 12:08:290 0 100 0 0│ 0 0 │ 960B 8816B│0.05 0.09 0.06│Feb-11 12:08:300 1 99 0 0│ 0 0 │ 960B 3440B│0.05 0.09 0.06│Feb-11 12:08:310 0 100 0 0│ 0 0 │ 480B 2960B│0.05 0.09 0.06│Feb-11 12:08:320 0 100 0 0│ 0 0 │ 480B 2960B│0.05 0.09 0.06│Feb-11 12:08:330 0 100 0 0│ 0 66K│ 480B 2960B│0.04 0.09 0.06│Feb-11 12:08:340 0 100 0 0│ 0 0 │ 960B 3088B│0.04 0.09 0.06│Feb-11 12:08:350 0 100 0 0│ 0 0 │1440B 3440B│0.04 0.09 0.06│Feb-11 12:08:360 0 100 0 0│ 0 0 │2016B 4016B│0.04 0.09 0.06│Feb-11 12:08:370 0 100 0 0│ 0 0 │5392B 2960B│0.04 0.09 0.06│Feb-11 12:08:380 1 99 0 0│ 0 131K│5392B 2960B│0.04 0.09 0.06│Feb-11 12:08:390 0 100 0 0│ 0 0 │ 960B 3088B│0.04 0.09 0.06│Feb-11 12:08:400 0 100 0 0│ 0 0 │ 15K 7664B│0.04 0.09 0.06│Feb-11 12:08:410 0 100 0 0│ 0 0 │1632B 4352B│0.04 0.09 0.06│Feb-11 12:08:420 0 100 0 0│ 0 0 │ 960B 2960B│0.04 0.09 0.06│Feb-11 12:08:430 1 99 0 0│ 0 98K│ 960B 2960B│0.04 0.09 0.06│Feb-11 12:08:440 0 100 0 0│ 0 0 │1448B 3744B│0.04 0.09 0.06│Feb-11 12:08:451 0 99 0 0│ 0 0 │ 960B 3440B│0.04 0.09 0.06│Feb-11 12:08:460 0 100 0 0│ 0 0 │ 480B 2960B│0.04 0.09 0.06│Feb-11 12:08:470 0 99 0 0│ 0 0 │2488B 3680B│0.04 0.09 0.06│Feb-11 12:08:481 0 99 0 0│ 0 0 │ 480B 2960B│0.03 0.08 0.06│Feb-11 12:08:490 1 99 0 0│ 0 1860K│ 480B 3680B│0.03 0.08 0.06│Feb-11 12:08:500 1 99 0 0│ 0 0 │2352B 4608B│0.03 0.08 0.06│Feb-11 12:08:510 0 100 0 0│ 0 0 │ 480B 4000B│0.03 0.08 0.06│Feb-11 12:08:520 0 100 0 0│ 0 0 │ 480B 2960B│0.03 0.08 0.06│Feb-11 12:08:530 1 99 0 0│ 0 0 │1536B 4016B│0.03 0.08 0.06│Feb-11 12:08:540 0 100 0 0│ 0 0 │ 960B 2960B│0.03 0.08 0.06│Feb-11 12:08:55^2.监控cpu和网络接口 显示CPU使用情况和每个网络接口 dool --cpu --net --time --full 153.监控内存和磁盘 显示磁盘情况和内存占用 [rootjeven dool]# dool --disk --mem 5 ┄dsk/total┄┬┄┄┄┄┄┄memory┄usage┄┄┄┄┄read writ│ used free cach avai371K 1632K│3511M 144M 3570M 4069M0 20K│3511M 144M 3570M 4069M0 26K│3511M 144M 3570M 4069M0 83K│3490M 165M 3570M 4090M0 0 │3491M 164M 3570M 4089M0 6554B│3490M 165M 3570M 4090M0 0 │3493M 162M 3570M 4087M0 6554B│3507M 148M 3570M 4073M0 26K│3507M 148M 3570M 4073M 4.监控cpu/负载/swap 监控cpu/负载/swap情况 [rootjeven dool]# dool --cpu --load --swap --time 60 ┄┄total┄cpu┄usage┄┄┬┄┄┄load┄avg┄┄┄┬┄┄┄┄swap┄┄┄┬┄┄┄┄┄system┄┄┄┄ usr sys idl wai stl│ 1m 5m 15m │ used free│ time 0 0 99 0 0│0.02 0.05 0.05│4612K 2039M│Feb-11 12:15:48
http://www.hkea.cn/news/14522419/

相关文章:

  • 哪做网站便宜wordpress 分类文章置顶
  • 网站建设 服务内容 费用杭州萧山区专门做网站的公司
  • 网站怎么做百度认证湛江市律师网站建设品牌
  • 廊坊网站建设-纵横网络+网站做网站需要什么东西
  • 工业皮带怎么做免费的网站商业空间设计图片
  • 网站流量不够找人做网站属于了解些什么呢
  • 免费网站知乎怎么利用代码做网站
  • 北京微信网站设计logo多少钱
  • 关于网站建设管理的通知赤峰网站制作
  • 合肥网站建设搜王道下拉网站接口设置
  • cadisen卡迪森手表网站太原企业建站程序
  • 电子商务网站建设与规划视频甘肃临夏州建设局网站
  • 网站建设有哪些平台亦庄附近的网站建设公司
  • 大连网站建设选高合科技网站快速被收录
  • 新网站如何推广公司推广宣传文案
  • 石基网站建设在阿里巴巴上做网站有效果吗
  • 网站开发公司目前主营业务网站弹窗公告代码
  • 魏县网站建设推广中国建设银行官网网址多少
  • 网站建设客户seo网站推广策略
  • 公司刚成立网站怎么做苏州模板网站专业设计
  • 南京建设网站需要多少钱开发微信小程序多少钱
  • 用域名和主机做网站的详细过程专业管网建设服务
  • 先建网站还是先做网页吐鲁番好网站建设设计
  • 怎么优化网站性能线下推广引流渠道
  • 如何注册网站怎么注册做网站分辨率多少
  • 下载中国建设银行官网站网站建设都用哪个好
  • 排名轻松seo 网站wordpress漏洞
  • 高校思政教育工作网站建设年度关键词
  • 网站建设注意哪些事项濮阳做网站优化
  • 河北百度推广建站之星网站 seo优化