CPU压测
# 安装stress-ng
apt install -y stress-ng
# 或
yum install -y stress-ng
# 压测
stress-ng --cpu 16 --cpu-method all --timeout 3600s
# 安装stress-ng
apt install -y stress-ng
# 或
yum install -y stress-ng
# 压测
stress-ng --cpu 16 --cpu-method all --timeout 3600s