FC9: can't find iostat command

View: New views
8 Messages — Rating Filter:   Alert me  

FC9: can't find iostat command

by jeanpca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

I installed FC9 X86_64 and can't find iostat on this distro. the iostat command existed in RHEL4U4 for example and was stored in sysstat package.

[root]# which iostat
/usr/bin/iostat
[root]# rpm -qf /usr/bin/iostat
sysstat-5.0.5-11.rhel4

on FC9, this package doesn't exist :

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

I noticed in the archives, Deron Meranda had the same problem :

Also during this time, I could see no significant system
I/O occuring (where is the iostat command btw?). Also
vmstat showed a very calm system.
do you know why this command is not here and
which is its equivalent
?
Thanks
Jean-Philippe
Battu

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

Re: FC9: can't find iostat command

by Ivan Cat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/8/6  <jeanpca@...>:

> Hi All
>
> I installed FC9 X86_64 and can't find iostat on this distro. the iostat
> command existed in RHEL4U4 for example and was stored in sysstat package.
>
> [root]# which iostat
> /usr/bin/iostat
> [root]# rpm -qf /usr/bin/iostat
> sysstat-5.0.5-11.rhel4
>
> on FC9, this package doesn't exist :
>
> [root@bin]# rpm -qa | grep sysstat
> [root@bin]#
>
> I noticed in the archives, Deron Meranda had the same problem :
>
> Also during this time, I could see no significant system
> I/O
> occuring (where is the iostat command btw?).  Also
> vmstat showed a very
> calm system.
>
> do you know why this command is not here and
> which is its equivalent
> ?
>
> Thanks
>
> Jean-Philippe
> Battu
>
> --
> fedora-list mailing list
> fedora-list@...
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


try
yum install sysstat

--
Regards,
Ivan Cat

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

Re: FC9: can't find iostat command

by Laszlo BERES :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jeanpca@... 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


--
Laszlo BERES RHCE, RHCX
senior IT engineer, trainer

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

Re: FC9: can't find iostat command

by Aaron Konstam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2008-08-06 at 15:36 +0200, jeanpca@... wrote:

> Hi All
>
> I installed FC9 X86_64 and can't find iostat on this distro. the
> iostat command existed in RHEL4U4 for example and was stored in
> sysstat package.
>
> [root]# which iostat
> /usr/bin/iostat
> [root]# rpm -qf /usr/bin/iostat
> sysstat-5.0.5-11.rhel4
>
> on FC9, this package doesn't exist :
>
sysstat does exist in F9 . I just yum installed it and iostat showed up.
--
=======================================================================
I do not know myself and God forbid that I should. -- Johann Wolfgang
von Goethe
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@...

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

Re: FC9: can't find iostat command

by Stewart Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Laszlo BERES wrote:

> jeanpca@... 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@...
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: FC9: can't find iostat command

by Todd Zullinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Indeed.  If yum see the / in the patter, it will consult the file list
metadata.  Normally, yum tries to avoid using the file list metadata
because it is quite large compared to the other metadata.

--
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A good scapegoat is almost as good as a solution.



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

attachment0 (554 bytes) Download Attachment

Re: FC9: can't find iostat command

by Stewart Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Todd Zullinger wrote:
> Stewart Williams wrote:
>> I am intregued by the "*/" in your yum command. Is that to make yum  
>> match the filename on it's absolute path?
>
> Indeed.  If yum see the / in the patter, it will consult the file list
> metadata.  Normally, yum tries to avoid using the file list metadata
> because it is quite large compared to the other metadata.
>
>

Looks like it's definitely useful to know and I should now get the
results I require.

Unless I'm mistaken, I don't think I've ever seen this in yum's manpage
before. If not then why isn't it in a relevent(tips?) section?

Even though the yum manpages are good, I can't help but think manpages
as a whole on Linux are not as informative as they used to be;
especially newer commands and not to mention missing ones ... but that's
for a different thread :-#

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

Re: FC9: can't find iostat command

by Aaron Konstam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2008-08-08 at 19:02 +0100, Stewart Williams wrote:

> Laszlo BERES wrote:
> > jeanpca@... 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)
You must the complete path to the program. iosata will not work.. You
need to use: yum whatprovides /usr/bin/iostat

The name joe\* in a yum command will match any rpm whose name starts
with joe.
>
> 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.
>
--
=======================================================================
Happiness is a positive cash flow.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@...

--
fedora-list mailing list
fedora-list@...
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
LightInTheBox - Buy quality products at wholesale price