1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-24 19:04:00 +02:00

Merge pull request #448 from shadowfax92/common-renice

renice.md: Including common renice commands.
This commit is contained in:
Felix Yan 2015-12-29 13:12:33 +08:00
commit 666b0841f9

15
pages/common/renice.md Normal file
View file

@ -0,0 +1,15 @@
# renice
> Alters the scheduling priority/nicenesses of one or more running processes. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process).
- Change priority of a running process.
`renice -n {{niceness_value}} -p {{pid}}`
- Change priority of all processes owned by a user.
`renice -n {{niceness_value}} -u {{user}}`
- Change priority of all processes that belongs to a group.
`renice -n {{niceness_value}} -g {{group}}`