In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Xiaobian to share with you the use of linux nice command to adjust the priority of the process, I believe most people still do not know how to share this article for everyone to learn, I hope you read this article after a big harvest, let us learn the method together!
Nice is used to adjust the execution priority of the process, nice command indicates that the new execution command is given a new nice value. In the background work of the system, some relatively unimportant processes are running, such as backup. Since backup work consumes system resources, you can increase the nice value of the backup command at this time, which can make the system resources more reasonable.
Syntax format: nice [parameter] [command]
Common parameters:
-n followed by a value in the range-20 to 19
Reference Example
Give a nice value of-5 with root to execute vi and see the process:
[root@localhost ~]# nice -n -5 vi & above is all about using linux nice command to adjust process priority, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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.