-
-
Save yitsup2u/02bd1f77bcd03a80a906 to your computer and use it in GitHub Desktop.
nice : linux command, process priority
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setting priority on new processes | |
nice -n 10 apt-get upgrade | |
Setting Priority on Existing Processes | |
renice 10 -p 21827 | |
Note: | |
The Linux niceness scale goes from -20 to 19. The lower the number the more priority that task gets. | |
Only root can apply negative nice values. | |
Reference: | |
http://www.nixtutor.com/linux/changing-priority-on-linux-processes/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment