processes:change_process_priority:change_process_priority
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
processes:change_process_priority:change_process_priority [2016/07/10 14:32] – created peter | processes: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, | ||
- | |||
- | |||
- | ===== Start process at lowest priority ===== | ||
- | |||
- | <code bash> | ||
- | nice -n 19 ./ | ||
- | </ | ||
- | |||
- | |||
- | ===== Change priority of running process ===== | ||
- | |||
- | Assuming the PID of the process to change is 123: | ||
- | |||
- | <code bash> | ||
- | renice -1 123 | ||
- | </ | ||
processes/change_process_priority/change_process_priority.1468161172.txt.gz · Last modified: 2020/07/15 09:30 (external edit)