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

毕业答辩ppt网站开发今日新闻头条内容

毕业答辩ppt网站开发,今日新闻头条内容,姑苏区住房和建设局网站,嘉定区做网站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
  • 四、安装dool
    • 1.安装python3
    • 2.安装dool
  • 五、dool的命令帮助
  • 六、dool的基本使用
    • 1.直接使用dool监控系统
    • 2.监控cpu和网络接口
    • 3.监控内存和磁盘
    • 4.监控cpu/负载/swap

一、dool命令行工具介绍

Dool 是一个命令行工具,用于监控系统的许多方面:CPU、内存、网络、平均负载等。它还包括一个强大的插件架构,可以监控其他系统指标。

二、本地系统环境检查

1.检查系统版本

[root@jeven ~]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

2.检查系统内核版本

[root@jeven ~]# uname -r 
6.1.8-1.el7.elrepo.x86_64

三、下载dool软件包

1.创建下载目录

[root@jeven ~]# mkdir -p /data/dool
[root@jeven ~]# cd /data/dool
[root@jeven dool]# 

2.下载dool

https://github.com/scottchiefbaker/dool.git

四、安装dool

1.安装python3

yum -y install python3

2.安装dool

[root@jeven dool]# cd dool/
[root@jeven dool]# ls
AUTHORS  ChangeLog  COPYING  docs  dool  examples  install.py  Makefile  packaging  plugins  README.md
[root@jeven 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的命令帮助

[root@jeven 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监控系统

[root@jeven 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   00     0 │ 960B 8816B│0.05 0.09 0.06│Feb-11 12:08:300   1  99   0   00     0 │ 960B 3440B│0.05 0.09 0.06│Feb-11 12:08:310   0 100   0   00     0 │ 480B 2960B│0.05 0.09 0.06│Feb-11 12:08:320   0 100   0   00     0 │ 480B 2960B│0.05 0.09 0.06│Feb-11 12:08:330   0 100   0   00    66K│ 480B 2960B│0.04 0.09 0.06│Feb-11 12:08:340   0 100   0   00     0 │ 960B 3088B│0.04 0.09 0.06│Feb-11 12:08:350   0 100   0   00     0 │1440B 3440B│0.04 0.09 0.06│Feb-11 12:08:360   0 100   0   00     0 │2016B 4016B│0.04 0.09 0.06│Feb-11 12:08:370   0 100   0   00     0 │5392B 2960B│0.04 0.09 0.06│Feb-11 12:08:380   1  99   0   00   131K│5392B 2960B│0.04 0.09 0.06│Feb-11 12:08:390   0 100   0   00     0 │ 960B 3088B│0.04 0.09 0.06│Feb-11 12:08:400   0 100   0   00     0 │  15K 7664B│0.04 0.09 0.06│Feb-11 12:08:410   0 100   0   00     0 │1632B 4352B│0.04 0.09 0.06│Feb-11 12:08:420   0 100   0   00     0 │ 960B 2960B│0.04 0.09 0.06│Feb-11 12:08:430   1  99   0   00    98K│ 960B 2960B│0.04 0.09 0.06│Feb-11 12:08:440   0 100   0   00     0 │1448B 3744B│0.04 0.09 0.06│Feb-11 12:08:451   0  99   0   00     0 │ 960B 3440B│0.04 0.09 0.06│Feb-11 12:08:460   0 100   0   00     0 │ 480B 2960B│0.04 0.09 0.06│Feb-11 12:08:470   0  99   0   00     0 │2488B 3680B│0.04 0.09 0.06│Feb-11 12:08:481   0  99   0   00     0 │ 480B 2960B│0.03 0.08 0.06│Feb-11 12:08:490   1  99   0   00  1860K│ 480B 3680B│0.03 0.08 0.06│Feb-11 12:08:500   1  99   0   00     0 │2352B 4608B│0.03 0.08 0.06│Feb-11 12:08:510   0 100   0   00     0 │ 480B 4000B│0.03 0.08 0.06│Feb-11 12:08:520   0 100   0   00     0 │ 480B 2960B│0.03 0.08 0.06│Feb-11 12:08:530   1  99   0   00     0 │1536B 4016B│0.03 0.08 0.06│Feb-11 12:08:540   0 100   0   00     0 │ 960B 2960B│0.03 0.08 0.06│Feb-11 12:08:55^

2.监控cpu和网络接口

  • 显示CPU使用情况和每个网络接口
dool --cpu --net --time --full 15

3.监控内存和磁盘

  • 显示磁盘情况和内存占用
[root@jeven 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情况
[root@jeven 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/784706/

相关文章:

  • 申请完域名怎么做网站百度链接提交
  • 驻马店市可以做网站的公司百度搜索竞价排名
  • 郑州市做网站吉林百度查关键词排名
  • 济宁网站建设seo抖音seo源码搭建
  • 茂名网站建设方案书简述seo和sem的区别
  • 江西网站做的好的企业文化百度指数在哪里看
  • 山东电商网站建设seo网站排名优化公司
  • 赤峰市做网站公司今日的最新消息
  • 上海最大的贸易公司seo网络推广机构
  • jsp 网站开发广告发布平台
  • b2c网站综合对比评价站长统计幸福宝
  • 网站建设意见做推广app赚钱的项目
  • 哈尔滨营销网站制作做外贸推广
  • 深圳网站建设外贸公司排名搜索热词排名
  • 网络科技公司招聘可靠吗seo多久可以学会
  • 企业网站建设的方案ppt网络营销的特点主要包括什么
  • 如何自行建设网站推广关键词优化
  • 建设学院网站百度收录关键词查询
  • 有关外贸的网站有哪些内容武汉抖音seo搜索
  • 娄底网站建设的话术深圳网站关键词排名优化
  • 福田大型商城网站建设seo营销方法
  • 网站开发专业就业指导企业网站设计与实现论文
  • 网络营销方式的思维导图seo关键词优化系统
  • wordpress访客ip记录福清市百度seo
  • 网站下载速度慢互联网广告推广公司
  • 电影网站空间配置网络营销的工具和方法有哪些
  • 包装设计网站免费百度seo搜索引擎优化厂家
  • 免费做公司网站sem对seo的影响有哪些
  • 网站空间购买费用关键词优化计划
  • 网站制作可以卖多少钱陕西网站建设制作