Linux Command favorites-Process Management

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.