1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-16 06:04:24 +02:00

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.
This commit is contained in:
duds
2024-11-24 00:17:10 -03:00
committed by GitHub
parent 1008d22a22
commit 902aa1c7a6

View File

@@ -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]
```
renice -5 -p [PID] # Increase priority by 5 units for process ID [PID]
```