zoukankan      html  css  js  c++  java
  • centos7下安装iostat命令

    [root@node01 yum.repos.d]# yum intall -y sysstat
    Loaded plugins: fastestmirror
    No such command: intall. Please use /usr/bin/yum --help
    [root@node01 yum.repos.d]# yum install -y sysstat
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Resolving Dependencies
    --> Running transaction check
    ---> Package sysstat.x86_64 0:10.1.5-13.el7 will be installed
    --> Processing Dependency: libsensors.so.4()(64bit) for package: sysstat-10.1.5-13.el7.x86_64
    --> Running transaction check
    ---> Package lm_sensors-libs.x86_64 0:3.4.0-4.20160601gitf9185e5.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =============================================================================================
     Package               Arch         Version                              Repository     Size
    =============================================================================================
    Installing:
     sysstat               x86_64       10.1.5-13.el7                        centos7       310 k
    Installing for dependencies:
     lm_sensors-libs       x86_64       3.4.0-4.20160601gitf9185e5.el7       centos7        41 k
    
    Transaction Summary
    =============================================================================================
    Install  1 Package (+1 Dependent package)
    
    Total download size: 352 k
    Installed size: 1.2 M
    Downloading packages:
    ---------------------------------------------------------------------------------------------
    Total                                                        339 kB/s | 352 kB  00:00:01
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64                     1/2
      Installing : sysstat-10.1.5-13.el7.x86_64                                              2/2
      Verifying  : sysstat-10.1.5-13.el7.x86_64                                              1/2
      Verifying  : lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64                     2/2
    
    Installed:
      sysstat.x86_64 0:10.1.5-13.el7
    
    Dependency Installed:
      lm_sensors-libs.x86_64 0:3.4.0-4.20160601gitf9185e5.el7
    
    Complete!
    [root@node01 yum.repos.d]# iostat
    Linux 3.10.0-862.el7.x86_64 (node01)    11/12/2020      _x86_64_        (1 CPU)
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               0.10    0.00    0.17    0.01    0.00   99.72
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda               0.48        15.48        10.64     298409     205019
    scd0              0.04         0.52         0.00       9996          0
    dm-0              0.43        14.90        10.43     287063     200907
    dm-1              0.01         0.12         0.00       2228         16
    dm-2              0.00         0.06         0.11       1109       2048
    

      

  • 相关阅读:
    分割线
    PTA 乙级 1053 住房空置率 (20分) C/C++
    5.12 记录
    单词统计
    eclipse导入项目jdk版本不一样
    5.6日 项目回顾
    5.5 记录
    5.3 记录
    5.2 记录
    5.1 记录
  • 原文地址:https://www.cnblogs.com/orcl-2018/p/13964171.html
Copyright © 2011-2022 走看看