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

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to