How to run a command with a different CPU priority in Linux
Use nice to start a command with a different CPU priority in Linux.
nice -n [num] [command with arguments]The nice number range from 19 to -20. 0 is the normal priority, 19 is the lowest priority and -20 is the highest priority. However, you will need admin rights to use -20.
Eaxmples
Run a command with the lowest priority.
nice -n 19 [command with arguments]
Comments
Post a Comment