海之星科技
HY-STAR

專業電源IC供應 ⇒ DC-DC 降壓轉換器, DC-DC 升壓轉換器,LED 驅動 IC,MOSFETs / IGBTs


 The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

renice - Adjusting Process Priority




To modify the execution priority of an already running process, you cannot use nice but should use renice. The basic usage of renice is as follows: renice # PID ("#" is the priority, ranging from -20 to +19, where smaller values indicate higher priority). Only the superuser can set negative priority values.

Example:

$ renice 19 1234 ← Change the priority of the process with PID 1234 to 19
$ renice +1 5678 ←Increase the priority of the process with PID 5678 by 1

For more renice usage examples and explanations, refer to the provided link.