lkml.org 
[lkml]   [2002]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: counters
From
Date
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.

Regards
Frank


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.314 / U:0.384 seconds]
©2003-2011 Jasper Spaans. Advertise on this site