# Ubuntu – How to change “niceness” while perfoming top command

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.