Identify two true statements about the nice command.

Identify two true statements about the nice command.

Identify two true statements about the nice command.

A.
It may the used to raise the priority of existing processes.

B.
It may be used to set the initial priority of a process.

C.
A higher nice value makes a process run at a lower priority.

D.
By default, a normal user can make a process run at a higher priority.

E.
It may be used to lower the priority of existing processes.

Explanation:
nice – run a program with modified scheduling priority.
Synopsis
nice [OPTION] [COMMAND [ARG]…]
Description
Run COMMAND with an adjusted niceness, which affects process scheduling. With no
COMMAND, print the current niceness. Nicenesses range from -20 (most favorable scheduling) to
19 (least favorable).



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Djuro

Djuro

B, C renice command is for changing priority of the existing processes.

Jef Adams

Jef Adams

NAME
nice – run a program with modified scheduling priority –> B

SYNOPSIS
nice [OPTION] [COMMAND [ARG]…]

DESCRIPTION

Run COMMAND with an adjusted niceness, which affects process schedulā€
ing. With no COMMAND, print the current niceness. Niceness values
range from -20 (most favorable to the process) to 19 (least favorable
to the process).
—> C