What to do when a process is running away with your resources, but you need the output, so you can’t just use
kill -9
First you need to use
top
to find the process ID (PID) of the process that you want to make more friendly. Then you need to re-nice that sucker! renice (the command) will alter the priority of running processes.
The format of the command is as follows:
renice priority [[-p ] pid ... ] [[-g ] pgrp ... ] [[-u ] user ... ]
At its most basic you could use:
renice +1 9873
would change the priority of process ID 9873
Leave a Reply