New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeing incorrect offline and online CPUs #1470
Comments
Can you add the |
This happens even in a KVM machine (also has 5 CPUs). I think this is happening only on Ubuntu Noble as I don't see this issue happening on LXC Jammy container which is also running on the same physical host. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey
I am running htop in an LXC container that uses the Ubuntu Noble image (Ubuntu 24.04). This time, unlike before, htop shows the "offline" CPUs as well.
This is what I expect:
For example, if I allocate 5 CPUs only to the LXC container, htop should show the 5 vCPUs.
This is what I see:
I see the 5 "online" CPUs and all the other CPUs (of the host) are shown as "offline". Often times, more than 5 CPUs show as online. However, top shows the correct amount of CPUs always.
As you can see from the image below more than 5 CPUs are shown as online
This is the output of top:
Some other info you may find useful
htop version: 3.3.0
os: Ubuntu Noble (Ubuntu 24.04)
host kernel version: 6.8.0-31-generic
The text was updated successfully, but these errors were encountered: