smartctl for fedora 17

我让自己变成了一个有趣的声音。

我想检查错误,我想使用smartctl

这个命令

[root@defiant ~]# smartctl -V 

产生一个错误:

 bash: smartctl: command not found... 

yum install smartctl不起作用。 我如何安装smartctl?

找出它包含在哪个包中:

 yum provides */smartctl 

然后安装指示的包,应该是smartmontools

你可以发现它在smartmontools包中

 yum search all smartctl 

如果您知道包中文件的完整path名,则可以直接安装该包,在本例中为:

sudo yum install / usr / sbin / smartctl

我发现了。 你不安装smartctl,你这样做:

 yum install smartmontools 

我发现这有帮助:

https://help.ubuntu.com/community/Smartmontools