Re: [PATCH] 2.5.46: duplicate statistics being gathered

From: Rick Lindsley (
Date: Fri Nov 08 2002 - 08:01:43 EST

    The <unknown quantity of> applications out there which are reading
    the disk info from /proc/stat need to be taught to go fishing in

As we determine the quantity, I'm (so far) willing to assist in porting.

    So what do people think? Do we just peremptorily nuke it and let
    the world catch up, or is a more organised migration possible?

We should set the new world order in place before 2.6 emerges. That
allows distros to collect or create tools for their stable releases
which take advantage of this.

    Rick, I believe you've hunted down some other apps which are
    using this info. sysstat, sar, mpstat, various flavours of iostat.
    Where do we stand on getting those updated?

iostat.c from is almost completely ported now. It will
search around in /proc/partitions, /proc/diskstat, and <sysfs>/block
to try to find the location of the statistics, meaning it should work
on 2.4 + patches, 2.5 + patches, now 2.5.46, and eventually 2.4, 2.5,
and 2.6 without patches. IT'S NOT THERE YET -- still testing and hope
to pass it on to the site owner this weekend.

iostat.c and sar from the sysstat set of tools at has been gathered, perused,
but not yet ported. The iostat.c source is similar but different from
the source mentioned above. The sysstat tools will be next, and the
changes again passed back to the site maintainer.

If there are other tools that utilize disk statistics, now would be a
very good time to let me know about them. I feel strongly enough about
getting this right to help port them as needed .. for a while anyway :)

In the kernel, there are some designated maintainers for many areas.
Is it similar in user space?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:15 EST