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).
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.
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.