[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFyci1PB9Y_BSqWnQKSSfcCrbJud+q1Z8Cdquo7hXJZaMw@mail.gmail.com>
Date: Sat, 1 Oct 2011 17:20:58 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Guillaume Chazarain <guichaz@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Balbir Singh <bsingharora@...il.com>,
Vasiliy Kulikov <segoon@...nwall.com>
Subject: Re: taskstats root only breaking iotop
On Sat, Oct 1, 2011 at 3:41 PM, Guillaume Chazarain <guichaz@...il.com> wrote:
> On Sat, Oct 1, 2011 at 11:59 PM, Linus Torvalds
> <torvalds@...ux-foundation.org> wrote:
>> I think the question should be: why is it *ever* a good idea to let
>> *anybody* read how many bytes anybody has read.
>
> I use iotop to get the throughput of a cp or tar because I don't
> always think of piping to 'pv'. People also use it as a progress
> indicator for their less verbose applications (total bytes
> read/written instead of rate).
I can understand the use of "throughput".
I don't understand why you then even *mention* byte-granularity. NOBODY CARES.
It really is that simple. Either you care about a single process (and
you damn well use strace or something similar), or you care about
"statistics".
For the statistics, something *like* TASKSTATS can make sense, but
never *ever* does it make sense to give byte-granularity stats in that
case.
So I don't see why you ask for it. What could possibly be a valid use-case?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists