[lkml]   [2002]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: counters
    On Fri, 2002-05-17 at 11:08, Manik Raina wrote:
    > Thanks for your response. What i meant was
    > every process could have an account of how
    > many bytes were read/written to various
    > filesystems/sockets using read()/write()
    > system calls.
    > We could dump this stuff in /proc and
    > it could tell us which processes are
    > heavily IO bound.
    > I am wondering if this information will
    > be useful to anyone.

    Hi Manik

    and sorry that I read only half of your initial post.
    I had a quick look at fs/read_write.c.

    I don't see any hook in the functions here, to perform such a task. And
    here this should belong to -- shouldn't it?

    the functions could add ``count'' to the procfs entry of ``current''.
    (just a thought) This info could be valuable - I think - if it wouldn't
    make a large performance issue.


    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

     \ /
      Last update: 2005-03-22 13:26    [W:0.021 / U:27.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site