FC9: can't find iostat command

Stewart Williams lists at pinkyboots.co.uk
Fri Aug 8 18:02:55 UTC 2008


Laszlo BERES wrote:
> jeanpca at free.fr wrote:
> 
>> [root at bin]# rpm -qa | grep sysstat
>> [root at bin]#
> 
> The above should only work when the sysstat package is installed.
> 
> root at 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.




More information about the fedora-list mailing list