User Tools

Site Tools


processes:change_process_priority:change_process_priority

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
processes:change_process_priority:change_process_priority [2016/07/10 14:32] – created peterprocesses:change_process_priority:change_process_priority [2019/12/01 22:31] (current) – removed peter
Line 1: Line 1:
-====== Processes - Change process priority ====== 
- 
-Use **nice** and **renice** commands. -20 highest priority,  19 lowest. 
- 
- 
-===== Start process at lowest priority ===== 
- 
-<code bash> 
-nice -n 19 ./process_intensive_task 
-</code> 
- 
- 
-===== Change priority of running process ===== 
- 
-Assuming the PID of the process to change is 123: 
- 
-<code bash> 
-renice -1 123 
-</code> 
  
processes/change_process_priority/change_process_priority.1468161172.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki