Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the renice command of linux for system management

Shulou Source: shulou.com Published: 2022-06-02 19:51:20 09月22日 Update

In this article, we will learn about system administration using linux's renice command. There is a certain reference value, friends in need can refer to, hope to help you.

The renice command modifies the scheduling priority of a running process.

By default, the command specifies that the program adjusts its priority by the program identification code, or you can specify the program group or user name to adjust the priority level, and modify the priority of all programs belonging to the program group or user. Only the system administrator can change the priority of other user programs, and only the system administrator can set a negative level.

Syntax format: renice [parameters]

Common parameters:

-g specify the process group id-p to change the priority level of the program. This parameter specifies the user name to start the process for the default value-u.

Reference example

Add 1 to the priority number of daemon and root that owns the processes with itinerary id 987 and 32:

[root@linuxcool] # renice + 1987-u daemon root-p 32 is a brief introduction to system management using linux's renice command. Of course, you have to use the above differences in detail before you understand it. If you want to know more, welcome to follow the industry information channel!

Tags: Program priority process command system management user parameter reference level manager adjustment difference abbreviation value priority only name instance is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Microsoft MySQL Redmi OPPO Reno