使用yum安装iostat,实际上需要安装sysstat

[root@localhost admin]# yum list iostat Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast 错误:没有匹配的软件包可以列出

[root@localhost admin]# yum list sysstat Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast 已安装的软件包 sysstat.x86_64 10.1.5-13.el7 @base

安装完sysstat后,就有iostat、mpstat、sar等工具