Loading practice questions
Consider the following statements regarding the 'nice' command of UNIX:
Statement I: It is used to set or change the priority of a process.
Statement II: A process's nice value can be set at the time of creation.
Statement III: Only the superuser can specify a negative nice value to increase process priority.
Which of the statements given above is/are correct?
Correct Answer: D — Statement I, Statement II, and Statement III
Explanation:
The nice command changes a process's scheduling priority. Users can launch processes with lower priority, but only root (superuser) can assign negative values for higher priority.