怎么办呢?
方法1,大家推荐的脚本https://github.com/layou233/NeverIdle
或者直接执行:
bash <(curl -s -L https://gist.githubusercontent.com/Ansen/e45320205faf5786d3282ac880f20bab/raw/onekey-NeverIdle.sh)
#!/bin/bash
# Run 4 parallel CPU intensive tasks
seq 4 | parallel --jobs 4 "dd if=/dev/zero of=/dev/null &>/dev/null & pid=$!; echo $pid"
# Wait for 5 minutes
sleep 300
# Kill all parallel processes
pkill dd
提示:第二个脚本啊,对系统造成较大压力,适可而止。
方法2,实在用不了4核24G那就降低实例配置;
方法3,挂个直播,参考 https://iweec.com/683.html
扫描二维码关注公众号,回复:
14948051 查看本文章