使用sudo限制进程的CPU使用率
Hujiuxiang
・1 分钟阅读
限制进程的CPU使用率
sudo cpulimit -p pid -l 50
这将限制它消耗的CPU平均数量。
示例输出
sudo cpulimit -p 4799 -l 10 Process 4799 detected