Daniel.G.Roberts on 9 Nov 2005 14:23:05 -0000


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

[PLUG] isostat still broken


Hello All
even after a reboot I see that my requiste /proc files contain nothing
 ls -l /proc/stat
-r--r--r--    1 root     root            0 Nov  9 09:19 /proc/stat
ls -l /proc/partitions
-r--r--r--    1 root     root            0 Nov  9 09:19 /proc/partitions


So as it stands now..I can get a CPU report but the second portion of the iostat report which should report disk use reports nothing as shown below.
Can I expect the diskstat portion to work on either nfs or lvm mounted devices?
thanks!
Dan

-----Original Message-----
From: plug-bounces@lists.phillylinux.org
[mailto:plug-bounces@lists.phillylinux.org]On Behalf Of
Daniel.G.Roberts@sanofi-aventis.com
Sent: Wednesday, November 09, 2005 7:49 AM
To: plug@lists.phillylinux.org
Subject: RE: [PLUG] Iostat doesn't work?


This seems to work>>
most of my mounted filesystems are either nfs mounted or lvm
does this make a differece?

[nm67371@resslnxc1-a ~]$ iostat 1 -x /dev/vg00/lvol1
Linux 2.4.21-15.ELsmp (resslnxc1-a.res.pharma.aventis.com)      11/09/2005

avg-cpu:  %user   %nice    %sys   %idle
           2.19    0.00    2.56   95.25

Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util

avg-cpu:  %user   %nice    %sys   %idle
           0.00    0.00    0.50   99.50

-----Original Message-----
From: plug-bounces@lists.phillylinux.org
[mailto:plug-bounces@lists.phillylinux.org]On Behalf Of Cosmin
Nicolaescu
Sent: Wednesday, November 09, 2005 3:01 AM
To: plug@lists.phillylinux.org
Subject: 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
___________________________________________________________________________
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
___________________________________________________________________________
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