Is there a way to force suspended process's memory to swap space?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux