In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the use of linux chrt command to change the scheduling policy, the article is very detailed, has a certain reference value, interested friends must read it!
Chrt is used to manipulate the real-time properties of processes. All priority values in the range of 0-99 are real-time processes, so this priority range can also be called real-time process priority, while non-real-time processes in the range of 100139. In the system, you can use the chrt command to view and set the real-time priority status of a process.
Syntax format: chrt [parameters]
Common parameters:
Reference example
Use SCHED_IDLE to extract the kernel source code archive:
[root@linuxcool ~] # chrt-i o tar jxf linux-2.6.33.tar.bz2
Specify the PID of the destination process to change the scheduling policy:
[root@linuxcool] # chrt-p-r 99 1328
Change bash to real-time process with a priority of 10:
[root@linuxcool ~] # chrt-f 10 bash and above are all the contents of changing the scheduling policy using linux's chrt command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.