You are not logged in.
Pages: 1
Let's say I am compiling a kernel in a terminal window. It is so CPU intensive, that using the computer while it's running is not really possible.
So is there any way I could pause such kernel compilation for the time while I'm in front of the computer, and unpause it when I'm leaving so it may continue where it stopped?
I know there is a PAUSE key on the keyboard, but it does nothing.
Offline
I don't think you can pause, but you may use nice and ionice settings.
Offline
man reniceOffline
You should be able to press CTRL Z to suspend the process if you're in bash. See "Job Control" for bash
EDIT: but I agree with the others, use nice/ionice to reduce the priority so the more interactive processes get priority to CPU and I/O.
Last edited by fukawi2 (2013-06-14 08:25:16)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
There is a STOP and CONT signal. See the man page for kill.
Never used those signals, so I'm not sure how the shell will handle these.
Offline
Nice usecase: https://bbs.archlinux.org/viewtopic.php … 6#p1284016
Offline
You should be able to press CTRL Z to suspend the process if you're in bash
That worked, I was able to suspend it with ctrl+z, and then resume it by typing "bg 1"
However, once I've done that, Ctrl+z no longer works.
Offline
Pages: 1