浏览代码

renice.md: Including common renice commands

Nikhil Sonti 9 年之前
父节点
当前提交
8a57c58958
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      pages/common/renice.md

+ 15 - 0
pages/common/renice.md

@@ -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}}`