Open Power2All opened 5 years ago
dude you are using 100%
dude you are using 100%
Host machine and TOP says something else Look at the 1% usage. It says 100% CPU, but in fact it isn't. The proxmox load monitoring shows also a much lower CPU usage, so no, the htop stats are wrong.
are you in a container or something?
are you in a container or something?
Yes, but I solved the issue. Had to modify to proc usage. Some people mentioned it on google as well, that some proc readouts were wrong, and could be disabled being parsed. htop shows proper CPU usage again.
@Power2All How did you modify it ? We're having the same issue.
@hortigosa did you solve it?
@hortigosa It has to do with the format encoding of the terminal. When it's not correctly set, it will corrupt the output data.
@Power2All Do you have some more information? I have the same problem with the LXC Debian 10 template.
@atipaHy @hortigosa try the following:
locale-gen en_US.UTF-8
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
reboot
@atipaHy @hortigosa try the following:
locale-gen en_US.UTF-8
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
reboot
@iandk solved it. Thanks
htop is showing wrong CPU usages, comparing to "top" in Ubuntu. Environment is Proxmox (Debian), with LXC containers. I think the way htop calculates or get it's CPU usage, might be broken or wrong on LXC environment somehow.
htop screenshot:
However, top shows whole different story: