centos7.4 测试CPU压力--命令搞定

直接输入命令CPU消耗增加:

cat /dev/urandom | gzip -9 > /dev/null

停止:

直接Ctrl+c结束