Linux command favorites-Process Management

Source: Internet
Author: User
Linuxnice command function description: set priority. Syntax: nice [-n & lt; priority level & gt;] [-- help] [-- version] [execution command] Supplement: nice commands can change the priority level of program execution. Parameter:-n & lt; priority level & gt; or-& lt; priority level...

Linux nice command

Function description: sets priority.

Syntax: nice [-n <优先等级> ] [-- Help] [-- version] [execute command]

Note: nice commands can change the priority level of program execution.

Parameter:-n <优先等级> Or- <优先等级> Or -- adjustment = <优先等级> 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 <程序群组名称> ...] [-P <程序识别码> ...] [-U <用户名称> ...]

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 <程序群组名称> Use the program group name to modify the priority of all programs that belong to the program group.

-P <程序识别码> Change the priority level of the program. this parameter is a preset value.

-U <用户名称> Specify the user name to modify the priority of all programs that belong 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.