Re: counters

Frank Schaefer
2002-05-17T05:55:24Z

On Thu, 2002-05-16 at 16:14, Manik Raina wrote:
> anyone knows if there are counters in the linux kernel
> which can be read via /proc like mechanism for the
> following :
>
> 1. total number of bytes read by process by syscalls
> like read()
>
> 2. total number of bytes written by each process by
> syscalls like write()

Hi,

as far as I know there's not a ready to use counter in the procfs.

BTW: What do you want to count? Do You mean timers?

It shouldn't be a problem, to write a little driver, which could make
this available.

Regards
Frank