适用系统:所有Linux系统
当前版本:无
硬件要求:无
root@localhost:~# apt-get -y install git
root@localhost:~# git clone https://github.com/opsengine/cpulimit.git
root@localhost:~# cd cpulimit/src
root@localhost:~/cpulimit/src# make
root@localhost:~/cpulimit/src# cp cpulimit /usr/bin
下面演示的是将进程号为“11830”的进程的CPU限制在百分之200。
root@localhost:~# nohup cpulimit --pid 11830 --limit 200 &
原文:https://www.cnblogs.com/network-ren/p/12376998.html