Messages in this thread | | | From | Linus Torvalds <> | Date | Sat, 1 Oct 2011 17:20:58 -0700 | Subject | Re: taskstats root only breaking iotop |
| |
On Sat, Oct 1, 2011 at 3:41 PM, Guillaume Chazarain <guichaz@gmail.com> wrote: > On Sat, Oct 1, 2011 at 11:59 PM, Linus Torvalds > <torvalds@linux-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
| |