nice & renice Flashcards
1
Q
nice
A
Run COMMAND with an adjusted niceness, which affects process scheduling.
Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process).
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/352/357/a_image_thumb.png?1591410045)
2
Q
nice -n
A
nice -n, –adjustment=N
Add integer N to the niceness (default 10)
3
Q
renice
A
renice alters the scheduling priority of one or more running processes.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/352/433/a_image_thumb.png?1591410163)
4
Q
renice
- n
- g
- p
- u
A
- n, –priority priority, Specify the schedule priority to be used for the process, process group, or user.
- g, –pgrp, Interpret the succeeding arguments as process group IDs.
- p, –pid, Interpret the succeeding arguments as process IDs (the default).
- u, –user, Interpret the succeeding arguments as usernames or UIDs.