Is there a way to force suspended process's memory to swap space?
Mingliang <[email protected]>
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
Hi,
For example, my process continuously consumes 30MB memory.
$ ps aux|grep job
joe 17941 0.0 0.3 33104 31096 pts/16 S 15:50 0:00 ./job 30
^^^^^^^
Now I stop it
$kill -STOP 17941
[1]+ Stopped ./job 30
$ ps aux|grep job
joe 17941 0.0 0.3 33104 31096 pts/16 T 15:50 0:00 ./job 30
So it doesn't consume CPU time any more, BUT is there also a way to
swap out the 30MB memory?
Can it be accomplished manually (some signal, maybe?) or is it only
the kernel who can make decision?
Any of your suggestion is much appreciated.
Regards,
Joe