Change Niceness While Performing Top Command – How to Guide

command lineniceprocess-priorityshortcut-keystop

I know that I can change the niceness using this command:

renice [-n] priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]

But it would be much more convenient if I could do it while scanning the processes in top.

Best Answer

Press r. That's it! :-)

Reference: The 9th item in 12 TOP Command Examples in Linux