Re: FC9: can't find iostat command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Laszlo BERES wrote:
jeanpca@xxxxxxx wrote:

[root@bin]# rpm -qa | grep sysstat
[root@bin]#

The above should only work when the sysstat package is installed.

root@blondie ~]# yum whatprovides "*/iostat"
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * livna: ftp-stud.fht-esslingen.de
 * fedora: mirror.karneval.cz
 * updates: mirror.karneval.cz
 * spacewalk: spacewalk.redhat.com
filelists.sqlite.bz2 | 331 kB 00:00
sysstat-8.0.4-3.fc9.i386 : The sar and iostat system monitoring commands
Matched from:
Filename    : /usr/bin/iostat

munin-node-1.2.5-4.fc9.noarch : Network-wide graphing framework (node)
Matched from:
Filename    : /usr/share/munin/plugins/iostat

sysstat-8.0.4-4.fc9.i386 : The sar and iostat system monitoring commands
Matched from:
Filename    : /usr/bin/iostat

munin-node-1.2.5-5.fc9.noarch : Network-wide graphing framework (node)
Matched from:
Filename    : /usr/share/munin/plugins/iostat



I am intregued by the "*/" in your yum command. Is that to make yum match the filename on it's absolute path?

The reason I ask this is many times I would like to install a certain program, but can't remember what package provides it. So I run:

# yum whatprovides <program>  (e.g. sar)

And more often or not it never matches any package, even though I know damn well it's in the repo somewhere. I usually google to find out the answer in the end.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux