Nice!

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

Advertisement

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

A WordPress.com Website.

Up ↑

%d bloggers like this: