[modules/cpu3] Add new CPU module

Based on cpu2 module, but use `sensors -j` and some json path walking to
better parse CPU temp and fan speeds. The output of `sensors -u` can
contain many duplicates of the same sensor name, but from different
sensor device paths.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ 2023-06-19 14:03:42 +02:00
parent 7cda35c1df
commit 0b4ff04be5
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1
3 changed files with 166 additions and 0 deletions

View file

@ -0,0 +1,2 @@
json
psutil