好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

通过yun命令安装sysstat软件包 - Linux操作系统:U


通过yun命令安装sysstat软件包

 

bash: Iostat: command not found,解决iostat命令找不到的问题  

[root@herry ~]# Iostat

-bash: Iostat: command not found

 

发现iostat命令不存在,这个是在安装 系统 的时候没有选择安装这个功能,需要使用yum 安装一
下安装包sysstat既可:

[root@herry ~]# yum install -y sysstat

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * addons: mirror.neu.edu.cn

 * base: mirror.neu.edu.cn

 * extras: mirror.neu.edu.cn

 * updates: mirror.neu.edu.cn

Setting up Install Process

Resolving 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 k

Downloading Packages:

sysstat-7.0.2-3.el5_5.1.i386.rpm                                                     | 170 kB     00:00     

updates/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-5

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : sysstat                                                                              1/1 

 

Installed:

  sysstat.i386 0:7.0.2-3.el5_5.1                                                       www.2cto.com             

Complete!

[root@herry ~]# iostat

 

avg-cpu:  %user   %nice %system %iowait  %steal   %idle

 

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn

 

[root@herry ~]# 

 

查看更多关于通过yun命令安装sysstat软件包 - Linux操作系统:U的详细内容...

  阅读:47次