提交 203dd287 编写于 作者: N nicolargo

Fan speed and voltages section? #1398

上级 6ca31c94
......@@ -29,7 +29,7 @@ from glances.plugins.glances_hddtemp import Plugin as HddTempPlugin
from glances.plugins.glances_plugin import GlancesPlugin
SENSOR_TEMP_UNIT = 'C'
SENSOR_FAN_UNIT = 'rpm'
SENSOR_FAN_UNIT = 'R'
def to_fahrenheit(celsius):
......@@ -247,8 +247,8 @@ class GlancesGrabSensors(object):
# !!! Disable Fan: High CPU consumption with psutil 5.2.0 or higher
# Delete the two followings lines when corrected (https://github.com/giampaolo/psutil/issues/1199)
self.init_fan = False
logger.debug("Fan speed sensors disable (see https://github.com/giampaolo/psutil/issues/1199)")
# self.init_fan = False
# logger.debug("Fan speed sensors disable (see https://github.com/giampaolo/psutil/issues/1199)")
# Init the stats
self.reset()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册