Re: /proc/partitions statistics question

From: Mike Fedyk
Date: Tue Dec 16 2003 - 15:38:09 EST


On Tue, Dec 16, 2003 at 08:35:06PM +0100, Jean-Luc Fontaine wrote:
> (24566 - 7925) = 16641 were written, whereas
> (23567 - 7152) = 16415 were read
> I would have expected something near 1048576 (kilobytes),
> but the results seem to be roughly 64 times less...
>
> I would really appreciate an explanation, as I use those statistics
> in a monitoring program and for filesystems performance tests.
>
> Many thanks for your help!
>

check out the man page for iostat in the sar/sysstat package. It documents
what is happening here. This is in blocks, and there is merging to
consider and etc...

> --
> Jean-Luc Fontaine mailto:jfontain@xxxxxxx http://jfontain.free.fr/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/