Which instance of somecommand is run with the highest priority?

Consider the following commands

A) $ nice -n 1 /usr/bin/somecommand
B) $ nice -n 5 /usr/bin/somecommand
C) $ nice -n 10 /usr/bin/somecommand

Which instance of somecommand is run with the highest priority?

Consider the following commands

A) $ nice -n 1 /usr/bin/somecommand
B) $ nice -n 5 /usr/bin/somecommand
C) $ nice -n 10 /usr/bin/somecommand

Which instance of somecommand is run with the highest priority?

A.
A

B.
B

C.
C

D.
none, only superuser can change the priority

Explanation:
The lower the nice-value the higher the priority, so A is the correct value.
Only the superuser may set negative values, but since A, B and C are using positive values this is irrelevant for this Question.



Leave a Reply 0

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