问题 I'm running this command grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)} END {print usage "%"}' Yet it only outputs something like 0.99xxxx% If I do an apt-get upgrade or any process, I would imagine it would go above 1%. Even running stress -c 1 doesn't make it change any. Is there a way to log CPU usage accurately? Server has 1 vCPU. Need to have this log every 5 seconds. while sleep 5; do "code" >> logfile; done 回答1: Why does cpu load not change more than a few hundredths?