模拟Linux 操作系统负载环境

1、模拟CPU使用率到100%,负载高的环境: 24核服务器,执行24次该命令即可 for i in 'seq 1 $(cat /proc/cpuinfo | grep "physical id" | wc l)'; do dd if=/dev/zero of=/dev/null & done 停止
posted @ 2019-01-06 17:07  George_sz  Views(613)  Comments(0Edit  收藏  举报