xfs
[Top] [All Lists]

Re: iostat doesn't report disk IO.

To: mlrecv@xxxxxxxxx
Subject: Re: iostat doesn't report disk IO.
From: Steve Lord <lord@xxxxxxx>
Date: Wed, 10 Oct 2001 13:28:17 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Message from "Zhifeng F. Chen" <mlrecv@yahoo.com> of "Wed, 10 Oct 2001 14:21:03 EDT." <CNEAKFLBCODPEFGEGALPKEIGCFAA.mlrecv@yahoo.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> Hi,
>     I don't know if I should ask you about this. 
>     I am using kernel 2.4.9 patched by xfs, /proc/partition shows:
> 
> major minor  #blocks  name
> 
>   33     0   60030432 hde
>   33     1      56196 hde1
>   33     2   30724312 hde2
>   33     3          1 hde3
>   33     5    1028128 hde5
>   33     6   28218141 hde6
>   34     0   60030432 hdg
>   34     1    4096543 hdg1
>   34     2   55930297 hdg2
> 
>     I'm using sysstat-4.0.2-1. However, iostat only report:
> 
> Linux 2.4.9-xfs (cluster-066)   10/10/2001
> 
> avg-cpu:  %user   %nice    %sys   %idle
>            0.04    0.00    0.08   99.88
> 
> Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> 
>     Does anyone meet this? Do you know any fix of it?
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Zhifeng F. Chen
> 

I am using an older iostat and a newer kernel and it works for me:

rpm -qf /usr/bin/iostat
sysstat-3.3.5-3
lord{lord}: iostat
Linux 2.4.11-xfs (lord)        10/10/2001

avg-cpu:  %user   %nice    %sys   %idle
           0.77    0.00    2.17   97.06
Device:        tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev3-0        6.89        13.08        21.28       4157       6765
dev8-0       14.44       219.98        25.40      69928       8073

iostat uses /proc/stat to get its info, here is what mine looks
like:

cpu  494 0 1413 97263
cpu0 300 0 528 48757
cpu1 194 0 885 48506
page 27531 1612
swap 2 0
intr 58066 49585 6 0 2 194 0 0 0 1 0 0 0 7 0 2192 0 4711 0 0 1368 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
disk_io: (3,0):(2192,320,4157,1872,6781) (8,0):(4630,3118,70176,1512,8635) 
ctxt 29325
btime 1002734286
processes 1040

I would check out your /proc/stat, and look at the iostat source,
it may be having trouble interpreting the output.

Steve

p.s. nothing in this part of the system is changed by XFS

> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com



<Prev in Thread] Current Thread [Next in Thread>