lkml.org 
[lkml]   [2000]   [Dec]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 17 Dec 2000 16:26:49 +0100 (CET)
FromIgmar Palsenberg <>
SubjectRe: kapm-idled : is this a bug?
> How about adding a flag to FLAGS, or a new letter in STATE in
> /proc/pid/stat, to mean "this is an idle task"?
> 
> ps & top could easily by taught to recognise the flag.

What's the problem with using PID 0 as the idle task ? That's 'standard'
with OS'ses that display the idle task.

It's also the 'right' thing to do, and should directly work with top / ps


	Igmar




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

\
 
 \ /
  Last update: 2005-03-22 12:52    [from the cache]
©2003-2008