Thanks Jame, it was a good idea. It would have been great if only it worked.
On Fri, 2006-07-07 at 11:41 -0600, Jamie Furtner wrote:
On Fri, July 7, 2006 8:58 am, Roy Souther wrote: > Is there any way to suspend or hibernate a single application, or is > there anyway to force the Linux Kernel to move an application out of RAM > and into swap and then just ignore it until told otherwise? > > If I renice an application to +20 it still continues to use CPU > resources, that's not good enough. I want to pause the program and all of > the sub-processes that it spawned. And then un-pause it or wake it up > again on command. > > Is this possible? Is there a kernel patch to do this? Should there be? What about sending a STOP signal to the app? That would pause it until a CONT is sent to it. In combination with a skill (to select processes by username) or a pstree (to select all processes started in a tree) you could write something to do this. They wouldn't be swapped out immediately, but I'd expect them to be swapped out when the kernel is under memory pressure. It seemed to work alright for a seamonkey session, though it would probably depend some on the application, though. For instance, in Seamonkey I'd expect bad things to happen if I interrupt a data transfer. Jamie
|
signature.asc
Description: This is a digitally signed message part
_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

