cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

os:linux:command:renice.html



Linux Commands#System

renice : How to use renice command in Linux with examples

Example

# nice -n 19 sleep 30
# ps axo pid,comm,nice |grep sleep
25106 sleep             0
25158 sleep            19
#

# renice -n 18  25158
25158 (process ID) old priority 19, new priority 18
#

# ps axo pid,comm,nice |grep sleep
25106 sleep             0
25158 sleep            18
#



os/linux/command/renice.html.txt ยท Last modified: 2018/02/09 by admin

Page Tools