psutil
psutil copied to clipboard
Following lm-sensors with fan names
Summary
- OS: Linux
- Bug fix: yes
- Type: core
- Fixes: if there is no labels in fan, use the name of fan (fan1, fan2, etc) to give a label to them.
Description
This is will apply a fallback label, following what lm-sensors do. If there is no label, return his name. https://github.com/lm-sensors/lm-sensors/blob/master/lib/access.c#L162