mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-16 13:47:10 -05:00
show incorrect CPU usage #290
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Eoous on GitHub (Apr 16, 2025).
CPU used 100% and Show incorrect CPU usage
@Eoous commented on GitHub (May 2, 2025):
Could you give me advice? @mbecker20
If not in progress, i will try to fix it
@mbecker20 commented on GitHub (May 2, 2025):
Komodo uses the sysinfo crate to get the cpu usage, and just displays that. It happens here: https://github.com/moghtech/komodo/blob/main/bin/periphery/src/stats.rs#L95. I'm not sure why that wouldn't work in your case, perhaps the cpu is not supported by sysinfo crate.
@Eoous commented on GitHub (May 3, 2025):
I have some machines, only this one is not working for cpu usage. I will try to fix this
@Eoous commented on GitHub (Jun 21, 2025):
sysinfois correct. I thinks the error is caused by cost from vm