Cosmin Nicolaescu on 9 Nov 2005 07:59:54 -0000


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

Re: [PLUG] Iostat doesn't work?


On Tue, November 8, 2005 3:35 pm, Dan Roberts wrote:
> Hello All
> I don't get it..I just installed  sysstat-4.0.5-3.i386.rpm on my system
> and when I try to run iostat I get nothing back..
> what am I missing?  I have both local and nfs mounted drives on this
> system..I see nothing for the stats that I would expect..
>
>         [nm67371@resslnxc1-a ~]$ /usr/bin/iostat -V
>         sysstat version 4.0.5
>         (C) S. Godard <sebastien.godard@wanadoo.fr>
>         Usage: /usr/bin/iostat [ options... ]
>         Options are:
>         [ -c | -d ] [ -k ] [ -t ] [ -V ] [ -x [ <device> ] ]
>         [ <interval> [ <count> ] ]
>         [nm@lnxc1 ~]$ /usr/bin/iostat
>         Linux 2.4.21-15.ELsmp (resslnxc1-a.res.pharma.aventis.com)
>         11/08/2005
>
>         avg-cpu:  %user   %nice    %sys   %idle
>                    2.17    0.00    2.56   95.27
>
>         Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read
>         Blk_wrtn
>
>         [nm@lnxc1 ~]$ uname -a
>         Linux lnxc1.dan.com 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24
>         EDT 2004 i686 i686 i386 GNU/Linux
>         [nm@resslnxc1-a ~]$
>
>
>
>
>
>
> Thanks!
> Dan
>


What happens if you do:

iostat -c 1 -d hda.

If hda is not your harddrive, use sda, hdb, whatever it is.

This should give you a refresh every second of the info.

-Cos

-- 
GPG key fingerprint = DE9F 4664 E666 2BD1 903E  4F4D EA31 5FB1 C7F9 08C1

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug