Re: [PATCH] per process I/O statistics for userspace

Andrew Morton
2005-09-14T20:26:25Z

Levent Serinol <lserinol@gmail.com> wrote:
>
> +int proc_pid_iostat(struct task_struct *task, char *buffer)
> +{
> + return sprintf(buffer,"%llu %llu\n",task->rchar,task->wchar);
> +}

Those fields have been sitting there unused for months. I'd like to hear
what the system accounting guys are intending to do with them before
proceeding, please.