What is the nice value range?

The nice value in Unix-like operating systems ranges from -20 to 19.

  • -20: Highest priority (process gets more CPU time).
  • 0: Default priority.
  • 19: Lowest priority (process gets less CPU time).

You can adjust the nice value of a process using the nice or renice commands to influence its scheduling priority. Lower nice values mean higher priority for CPU resources.

0 Comments

no data
Be the first to share your comment!