asked 120k views
3 votes
We can change the priority of a running process using which of the following?

1) nice
2) renice
3) priority cannot be changed for a running process

1 Answer

5 votes

Final answer:

The priority of a running process can be changed using the 'renice' command in Unix-like operating systems such as Linux.The nice command is used to launch a new process with a specific priority.

Step-by-step explanation:

The correct answer is option 2) renice.

We can change the priority of a running process using the renice command in Unix-like operating systems such as Linux. The nice command is used to launch a new process with a specific priority.

For example, to change the priority of a running process with the process ID (PID) 1234 to a lower priority, you can use the command: renice +5 1234 This will increase the priority value and make the process less important.

answered
User JJJohn
by
8.4k points

No related questions found