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


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

Tagged ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: