Redian新闻
>
another question about priority under Unix/Linux
avatar
another question about priority under Unix/Linux# Unix - 噫吁兮,危乎高哉
d*t
1
I have a question about the scheduling policy used in Unix or Linux.
There are two system calls: setpriority() and nice(). The manual says both
can affect the priority. So I think their effect should be the same. But
when I run 'top' command, it displays PRI(priority) and NI(nice value), and
it seems there are no strong relationship between these two
values(processes with same nice value can have different priority,
and vice versa). Moreover, the priorities of the running processes keep
changing
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。