High CPU usage applet
Andrew Sayers
andrew-ubuntu-devel at pileofstuff.org
Fri May 8 12:47:10 UTC 2009
I think this is a really good idea. Making it an applet would let you
list "suspects" (programs that have a high CPU load, or use a lot of
memory, etc.), then send a STOP signal to processes guilty beyond a
reasonable doubt, before asking the user what to do.
I once played around with a command-line program that looked for
applications that were page-faulting like it was going out of style, by
repeatedly reading /proc/[0-9]*/stat. If you're interested in pursuing
this idea yourself, I'd be happy to send along the (C++) code I wrote
back then.
- Andrew
More information about the Ubuntu-devel-discuss
mailing list