[clug-talk] Application suspend, force RAM to swap
wuth at castrov.cuug.ab.ca
Sat Jul 8 11:59:15 PDT 2006
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.
If you've initiated the application from bash, you should be able to
use job control to suspend the application. See the section "Job
Control" in the bash(1) manual page.
Brett Wuth wuth at castrov.cuug.ab.ca wuth at acm.org
Box 1251-U, Pincher Creek, Alberta T0K 1W0, CANADA Tel:+1 403 627-2460
PGPKey ID=23276D81 FingerPrint=E4F8EDEECBE01AD2FA3D8B2D94B1A292
What is the meaning of life?! Yes.
More information about the clug-talk