PrepAway - Latest Free Exam Questions & Answers

In order to run the httpd process with the highest priority, you will issue the _______ command to change the

Fill in the blank with the appropriate command to complete the statement below. In order to run the
httpd process with the highest priority, you will issue the _______ command to change the priority
level of the httpd process.

PrepAway - Latest Free Exam Questions & Answers

A.
nice

Explanation:
The nice command is used to change the priority of a process in the kernel’s
scheduler.

A niceness of -20 is the highest priority and 19 is the lowest priority. The default niceness for
processes is inherited from its parent process, usually 0. For example, when specifying a very low
priority, the following command can be entered: nice -n 19 cc -c *.c &
The above command runs the cc command in the background at a lower priority than the default
priority set by the nice command.


Leave a Reply