lkml.org 
[lkml]   [2000]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"Stephen C. Tweedie" <>
DateThu, 6 Jan 2000 23:45:29 +0000 (GMT)
SubjectSard for 2.3.37 [was Re: PATCH against 2.2.13: disk io stats in /proc/stat]
Hi,

On Wed, 22 Dec 1999 18:15:45 -0500 (EST), arijort@valinux.com said:

> I was looking around for a utility to give me some
> stats on my disk io.  Something like iostat in Solaris.

> Well, I found that /proc/stat only reports stats
> for 4 disks.  

I've just updated the sard code for 2.3.36/7.  There's working code on 

	ftp://ftp.uk.linux.org/pub/linux/sct/fs/profiling

but I'm still auditing it for SMP correctness.  The kernel patch adds
detailed disk profiles to /proc/partitions, and the "sard" front-end
prototype user-mode code gives output like:

device     %util   qlen (ios:kB rd  ios:kB wr  ios:kB /sec) avwait (ms)
[23:44:00]
sda       48.01%   0.48   14:14       0:0       14:14      33.5
hda        2.79%   0.09    0:0        1:0        1:0       90.0

giving device IO queue utilisation, average IO queue length, IOs per
second (read and write) and kB/sec transfered, and average IO wait time.

I'll do a proper test on SMP tomorrow and post a final version.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2008