Discord Bot High CPU usage, visual error?

grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)} END {print usage "%"}'

Run that in your projects console, if the result is the same as what the container stats show, then it is the correct value, otherwise there is probably a bug,

2 Likes