#854·gopsutil

传感器温度应提供唯一的传感器标识

作者: danielnelson创建于 2020年3月24日更新于 2026年6月18日
标签os:linuxpackage:host

Describe the bug This issue is somewhere between a bug report and a feature request. When using the host.SensorsTemperatures() call, it is possible for multiple TemperatureStat objects to have the same SensorKey. In order to distinguish temperature sensors, and in particular when making multiple calls over time, it would be useful if we could guarantee that each sensor has a unique sensor key or provide an additional field that is unique and does not change between calls.

内容来源: shirou/gopsutil