[英]Linux - Starting process at a specific priority
在Linux上,如何从终端以特定优先级值启动进程?
Use the command nice
: 使用命令nice
:
nice -n 15 <command> <argument1> <argument2> …
for example: 例如:
nice -n 15 sh -c 'while true; do true; done'
You can use renice
or nice
(look them up) to reduce the priority. 您可以使用renice
或nice
(查找它们)来降低优先级。 To increase you need to be root
. 要增加你需要成为root
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.