Linux Process Priority related summary

Source: Internet
Author: User

Linux Process priority score: 1. Real-time priority (kernel-related), range 0-99, lower priority with fewer digits. The RT that top sees is real-time priority.
2. Static priority (user-related), range100-139,The smaller the number, the higher the priority .
The real-time priority is higher than the static priority level.

Nice is a priority value, range 20-19 the smaller the value, the higher the corresponding process priority, in the top, pr-ni=20
start a process by default, nice is 0, and you can specify the friendly value when you execute the process:
nice-n-5 sleep

use Renice to adjust this value:
renice PID

The following command can see the levels of real-time and static precedence:
ps-e-o rtprio,pri,nice,cmd
the last column, plus [], represents the kernel thread

Reference Linkshttp://blog.csdn.net/helloanthea/article/details/28877221

Linux Process Priority related summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.