Adjust the nice value

1. Change the nice value of an existing process
# renice -15 25858 ; (change the nice value of pid 25858 to -15 )
At this time, the value of PRI is PRI(new) = PRI(old) + (-15)
PRI's The smaller the value, the higher the priority of the process

2. Run a process with some nice value
# nice -n -15 process

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326969770&siteId=291194637