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
    

      

  • 相关阅读:
    「SDOI2014」向量集 解题报告
    HNOI 2014 世界树
    LOJ #2205. 「HNOI2014」画框 解题报告
    KM模板
    洛谷 [HNOI2014]道路堵塞 解题报告
    [AHOI2014/JSOI2014] 解题报告
    AndroidStudio中添加依赖的三种方式以及如何引入so文件和arr文件
    android 四大组件详解
    Android—— ListView 的简单用法及定制ListView界面
    Android Studio 使用VCS版本控制
  • 原文地址:https://www.cnblogs.com/orcl-2018/p/13964171.html
Copyright © 2011-2022 走看看