Correct option is D
The renice command is used in Linux to modify the priority of a running process. It allows users to increase or decrease the "niceness" value of a process, which determines how much CPU time it gets. Lower values mean higher priority.
Example:
renice -n 5 -p 1234 # Set niceness to 5 for process with PID 1234
Important Key Points:
1.
renice allows real-time modification of process priorities without terminating or restarting the process.
2. The
niceness value ranges from -20 (highest priority) to 19 (lowest priority).
3. Processes with a lower niceness value get higher CPU time compared to those with higher niceness values.
Knowledge Booster:
·
ps: Displays information about processes but does not modify them.
·
kill: Sends signals to terminate or restart processes, not for modifying priorities.
·
nice: Sets the niceness value
when starting a process, unlike renice, which works on running processes.
·
top: Provides a real-time view of system processes but does not modify priorities directly.