Add support to monitor CPU temperature#56
Add support to monitor CPU temperature#56ffeldbauer wants to merge 1 commit intoepics-modules:masterfrom
Conversation
Added support to monitor the CPU temperature on Linux. New function uses the LOAD_TYPE scan rate like all the other CPU related informations.
|
Sorry for not responding so long regarding my merge request #45 When I tried to merge the latest master into my fork, I ran into a few new issues, which is why I started from a fresh clone of the current master and added my changes to it |
|
|
|
@ffeldbauer Thank you for bring this subject again. And please check the previous discussion at #7 with @ralphlange You may find his insights on this pull request. |
|
@ffeldbauer I think the best way to implement this would be using the hwmon stuff in sysfs. On my desktop (AMD 7950X) I don't have a thermal zone that corresponds to CPU temperature, only one for acpi. The hwmon drivers 'coretemp' and 'k10temp' seem to be reliably available on x86 platforms. You can see which your system has by running See the Linux docs on coretemp (for Intel x86 processors) and k10temp (for AMD x86 processors) These drivers can report more than one temperature. For k10temp, the |
Added support to monitor the CPU temperature on Linux. New function uses the LOAD_TYPE scan rate like all the other CPU related informations.