amanusk / s-tui

Terminal-based CPU stress and monitoring utility
https://amanusk.github.io/s-tui/
GNU General Public License v2.0
4.01k stars 139 forks source link

Fix the CPU Frequency Graph by using GHz for the upper threshold instead of Hz #199

Closed BitWire closed 1 year ago

BitWire commented 1 year ago

psutil only returns GHz for the cpu frequency, so we need to adapt the upper limit of the graph to make it useful again

amanusk commented 1 year ago

Hey, thanks for the PR. The issue with psutil was fixed, it is documented in #180 Since psutil 5.9.1, it displays MHz again. The min requirement has been updated, but some packages are still using 5.9.0 (the version with the issue)