Linux下限制进程的CPU利用率 centos Ubuntu
#centos yum install cpulimit #Ubuntu</pre>
nohup cpulimit -p 1234 -l 40 >/dev/null 2>&1 & #l后面跟限制cpu百分比 p为pid 根据核心数变动 双核20 四核 10
#centos yum install cpulimit #Ubuntu</pre>
nohup cpulimit -p 1234 -l 40 >/dev/null 2>&1 & #l后面跟限制cpu百分比 p为pid 根据核心数变动 双核20 四核 10
扫描二维码,输入您要打赏的金额