Back to Developer Roadmap

Process Priorities

src/data/roadmaps/linux/content/[email protected]

4.0752 B
Original Source

Process Priorities

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 nice 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: