1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-03 06:12:53 +02:00

Update process priorities content (#8789)

* Update process-priorities@5anSYRhaKIs3dCLWlvZfT.md

I correct the lost bash code and add some explanations to it and free resouce to learn more from linuxjourney.com

* Update src/data/roadmaps/linux/content/process-priorities@5anSYRhaKIs3dCLWlvZfT.md

* Update process-priorities@5anSYRhaKIs3dCLWlvZfT.md

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Muhammad Nanda Alfian
2025-06-24 07:56:51 +08:00
committed by GitHub
parent 6a0d8cdae2
commit ae74f50d4a

View File

@@ -1,8 +1,8 @@
# Process Priorities
Linux assigns priority levels to processes for efficient resource utilization and execution timing. Priority values ("nice" values) range from -20 (highest) to +19 (lowest priority). View priorities with `ps -eo pid,pri,ni,user,comm`. Change priorities using `renice -5 -p [PID]`. Essential for system performance optimization and CPU resource management.
Linux assigns priority levels to processes, affecting execution timing and resource allocation. Process priorities use "nice" values ranging from -20 (highest priority) to +19 (lowest priority) and only root can set negative nive value. The `/proc` filesystem contains process information including priorities. You can view priorities with `ps -eo pid,pri,user,comm` and modify them using `renice` command.
Visit the following resources to learn more:
Visit the following resource to learn more:
- [@article@Understanding Process Thread Priorities in Linux](https://blogs.oracle.com/linux/post/task-priority)
- [@article@How To Manipulate Process Priority In Linux](https://www.itsmarttricks.com/how-to-manipulate-process-priority-in-linux-using-nice-and-renice-commands/)
- [@article@How To Manipulate Process Priority In Linux](https://www.itsmarttricks.com/how-to-manipulate-process-priority-in-linux-using-nice-and-renice-commands/)