Linux nice command
Function Description: sets priority.
Syntax: nice [-n <priority level>] [-- help] [-- version] [Execute Command]
Note: nice commands can change the priority level of program execution.
Parameter quantity:-n <priority level> or-<priority level> or -- adjustment = <priority level> sets the priority level of the command to be executed. The range of the level is-20-19, of which-20 is the highest and 19 is the lowest. Only the system administrator can set a negative level.
-- Help Online help.
-- Version: displays the version information.
#########################
Linux renice command
Function Description: Adjust the priority.
Syntax: renice [priority level] [-g <Program Group Name>...] [-p <program identification code>...] [-u <User Name>...]
Note: The renice command can reset the priority level of program execution. The priority of a program is specified by the program identification code. You can also specify a program group or user name to adjust the priority level and modify the priority of all programs belonging to the program group or user. The level range is from-20--19. Only the system administrator can change the priority of other user programs, and only the system administrator can set a negative number level.
Parameters:
-G <Program Group Name> uses the program group name to modify the priority of all programs belonging to the program group.
-P <program identifier> changes the priority level of the program. This parameter is a preset value.
-U <User Name> specifies the user name to modify the priority of all programs belonging to the user.
This article is from the "simple" blog