lkml.org 
[lkml]   [2009]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/3] taskstats-fork: Add a new taskstats command to get notification on fork/clone
From
On Tue, Jul 21, 2009 at 8:24 AM, Nikanth Karthikesan<knikanth@suse.de> wrote:
> Ah.. proc-events was the exact thing, I was looking for! Thanks.

AFAICT proc-events can only be used by root, so that makes it
unsuitable for *top.

Anyway, iotop will always have to iterate over all threads to query
their taskstats and other attributes, so the O(nr_threads) complexity
is unavoidable.

Thanks.

--
Guillaume


\
 
 \ /
  Last update: 2009-08-30 21:55    [W:0.044 / U:2.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site