电脑计算机论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 447|回复: 0

yum 安装一个命令,不知道安装哪个包,怎么办?

[复制链接]
admin 发表于 2022-7-25 14:41:28 | 显示全部楼层 |阅读模式
在Linux想运行命令 iostat ,但是提示没有此命令, 那么怎么安装 iostat呢?

  yum install iostat   (发现Unable to find a match: iostat)

  我们可以通过  yum provides iostat  来查询,这个iostat依附在哪个包上:
sysstat-11.7.3-6.el8.x86_64 : Collection of performance monitoring tools for Linux
Repo        : AppStream
Matched from:
Filename    : /usr/bin/iostat



  然后,我们在安装  yum install -y  sysstat-11.7.3-6.el8.x86_64

问题解决。

您需要登录后才可以回帖 登录 | 注册

本版积分规则


QQ|手机版|小黑屋|电脑计算机论坛 ( 京ICP备2022023538号-1 )

GMT+8, 2024-5-19 02:33 , Processed in 0.072797 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表