通過yun命令安裝sysstat軟體包

來源:互聯網
上載者:User


通過yun命令安裝sysstat軟體包 bash: Iostat: command not found,解決iostat命令找不到的問題  [root@herry ~]# Iostat-bash: Iostat: command not found 發現iostat命令不存在,這個是在安裝系統的時候沒有選擇安裝這個功能,需要使用yum 安裝一
下安裝包sysstat既可:[root@herry ~]# yum install -y sysstatLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * addons: mirror.neu.edu.cn * base: mirror.neu.edu.cn * extras: mirror.neu.edu.cn * updates: mirror.neu.edu.cnSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package sysstat.i386 0:7.0.2-3.el5_5.1 set to be updated--> Finished Dependency Resolution   www.2cto.com  Dependencies Resolved ======================================================================== Package                 Arch                 Version                         Repository               Size=========================================================================Installing: sysstat                 i386                 7.0.2-3.el5_5.1                 updates                 170 k Transaction Summary=========================================================================Install       1 Package(s)Upgrade       0 Package(s)   www.2cto.com  Total download size: 170 kDownloading Packages:sysstat-7.0.2-3.el5_5.1.i386.rpm                                                     | 170 kB     00:00     warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897updates/gpgkey                                                                       | 1.5 kB     00:00     Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-
key@centos.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction  Installing     : sysstat                                                                              1/1  Installed:  sysstat.i386 0:7.0.2-3.el5_5.1                                                       www.2cto.com             Complete![root@herry ~]# iostatLinux 2.6.18-194.el5 (herry.oracle.com)         03/15/2011 avg-cpu:  %user   %nice %system %iowait  %steal   %idle           0.01    0.00    0.05    0.02    0.00   99.92 Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtnsda               1.42        15.41        38.71   10589105   26600276sda1              0.00         0.00         0.00       1856         12sda2              1.02        10.77        25.36    7404036   17429472sda3              0.00         0.10         0.53      66691     362568sda4              0.00         0.00         0.00          8          0sda5              0.40         4.53        12.82    3116082    8808224hdc               0.00         0.00         0.00        200          0 [root@herry ~]#  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.