zoukankan      html  css  js  c++  java
  • linux下安装sar

    本文转自(https://blog.csdn.net/qq_31391261/article/details/79419740)
    OS:centos6.5
    操作步骤:
    1)输入sar命令:sar --help  
          结果:提示command not found
                     
     
    原因:未安装工具使用yum命令安装, yum install sysstat
    说明:(yum也是个工具,如果你的linux系统无yum工具需要自行安装)
    安装过程,如下:
     
    yum install sysstat过程记录
    [root@besttest ~]# yum install sysstat
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.aliyun.com
     * extras: mirrors.tuna.tsinghua.edu.cn
     * updates: mirrors.aliyun.com
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package sysstat.i686 0:9.0.4-33el6_9.1 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ===============================================================================================================================================================================================================================
     Package                                             Arch                                             Version                                                        Repository                                           Size
    ===============================================================================================================================================================================================================================
    Installing:
     sysstat                                             i686                                             9.0.4-33el6_9.1                                                updates                                             228 k

    Transaction Summary
    ===============================================================================================================================================================================================================================
    Install       1 Package(s)

    Total download size: 228 k
    Installed size: 804 k
    Is this ok [y/N]: y
    Downloading Packages:
    sysstat-9.0.4-33el6_9.1.i686.rpm                                                                                                                                                                        | 228 kB     00:00     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
    ** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
    LoadGenerator-11.00.000-1.i386 has missing requires of libicudata.so
    LoadGenerator-11.00.000-1.i386 has missing requires of libicudata.so.36
    LoadGenerator-11.00.000-1.i386 has missing requires of libicui18n.so.36
    LoadGenerator-11.00.000-1.i386 has missing requires of libicutu.so.36
    LoadGenerator-11.00.000-1.i386 has missing requires of libicuuc.so.36
      Installing : sysstat-9.0.4-33el6_9.1.i686                                                                                                                                                                                1/1 
      Verifying  : sysstat-9.0.4-33el6_9.1.i686                                                                                                                                                                                1/1 

    Installed:
      sysstat.i686 0:9.0.4-33el6_9.1                                                                                                                                                                                               
    Complete!
    2)安装完成sysstat工具,即可使用sar命令:
  • 相关阅读:
    三代测序及基于三代数据的基因组组装流程评估
    组装技术的新进展 New advances in sequence assembly.
    细菌完成图组装软件简单介绍 细菌
    个人基因组测序将进入千美元费用时代
    HALC:用于长读取错误纠正的高吞吐量算法
    基因组装配新前沿:长片段完成完整的基因组
    第三代PacBio测序技术的测序原理和读长
    三代组装小基因组研究综述
    矩阵连乘 动态规划
    poj 1723 中位数
  • 原文地址:https://www.cnblogs.com/wxinyu/p/10473895.html
Copyright © 2011-2022 走看看