Say I'm working on a sluggish system and notice (say via top) that CPU usage is up around 100%, but I don't want to kill the process. If I want to do other work on the machine and just make that process slower, can I do something like:
# nice -n -10 bash To get a subshell that runs commands more quickly? It doesn't seem to, so I'm curious, about what, if anything would be sped up. Builtins only? Nothing?
renice 15 $(pidof updatedb). You can also send him theSTOPsignal and later theCONTsignal.ionicefor processes that are monopolising the disk. I run my regularrsyncbackups with it to stop them grinding my laptop into the ground.