From 902aa1c7a6bee8506231da1f619d169f7086a93c Mon Sep 17 00:00:00 2001 From: duds Date: Sun, 24 Nov 2024 00:17:10 -0300 Subject: [PATCH] Fixes typo in 104-proc-priorities.md (#7684) Old: renice +5 New: renice -5 From my research, after reading the topic in the Linux roadmap, it didnt make sense that increasing the priority of a process was made by +5, the topic said that a negative number makes the priority higher, so do many articles on the internet. --- .../content/106-process-management/104-proc-priorities.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/linux/content/106-process-management/104-proc-priorities.md b/src/data/roadmaps/linux/content/106-process-management/104-proc-priorities.md index c676d86cf..d413c2dc6 100644 --- a/src/data/roadmaps/linux/content/106-process-management/104-proc-priorities.md +++ b/src/data/roadmaps/linux/content/106-process-management/104-proc-priorities.md @@ -15,5 +15,5 @@ ps -eo pid,pri,user To change the priority of any process, you can use the `renice` command: ```sh -renice +5 -p [PID] # Increase priority by 5 units for process ID [PID] -``` \ No newline at end of file +renice -5 -p [PID] # Increase priority by 5 units for process ID [PID] +```