From 18ce51871b76c7dec116783d25f4beee22e95e2c Mon Sep 17 00:00:00 2001 From: duds Date: Tue, 5 Nov 2024 20:23:34 +0000 Subject: [PATCH] Fixes typo in 104-proc-priorities.md 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] +```