nschloe / tiptop

:desktop_computer: Command-line system monitoring
MIT License
1.78k stars 70 forks source link

Ryzen temperature monitoring #37

Closed okaturbo closed 3 years ago

okaturbo commented 3 years ago

No temperature is shown for AMD Ryzen cpu. In _cpu.py you match "coretemp", but for AMD cpu there is k10temp driver showing cpu temp.

>>> import psutil
>>> psutil.sensors_temperatures()
{'k10temp': [shwtemp(label='Tdie', current=31.375, high=70.0, critical=70.0), shwtemp(label='Tctl', current=51.375, high=None, critical=None)]}

It looks like there is no temperatures for each core, but at least would be great to monitor tdie