[Gllug] hourly/daily rate for linux systems admins?

Dagfinn Ilmari Mannsåker ilmari at ilmari.org
Tue Nov 23 22:44:09 UTC 2010


Nix <nix at esperi.org.uk> writes:

> On 23 Nov 2010, Karanbir Singh told this:
>> As another example, when asked to find per-process blockdev i/o rate, 
>> only 1 out of 8 people actually looked in /proc/<id>/; a couple 
>
> I'm sorry, where is this? I just hunted for it and can't see anything
> relating to per-process blockdev I/O there. I had no idea Linux tracked
> such things on a per-process basis (in fact I can remember patches to do
> such things being rejected in the past).

Enable CONFIG_TASK_IO_ACCOUNTING and look in /proc/<pid>/io. It's been
there since 2.6.20.

-- 
ilmari
"A disappointingly low fraction of the human race is,
 at any given time, on fire." - Stig Sandbeck Mathisen

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list