Fan speed and voltages section? #1398

This commit is contained in:
nicolargo
2019-07-07 10:04:08 +02:00
parent b43b5007a9
commit 89cb007bdf
3 changed files with 5 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ Bugs corrected:
* IP plugin displays incorrect subnet mask #1417
* Glances PsUtil ValueError on IoCounter with TASK kernel options #1440
* Per CPU in Web UI have some display issues. #1494
* Fan speed and voltages section? #1398
Others:

View File

@@ -27,7 +27,7 @@ import signal
import sys
# Global name
__version__ = '3.1.1RC1'
__version__ = '3.1.1RC2'
__author__ = 'Nicolas Hennion <nicolas@nicolargo.com>'
__license__ = 'LGPLv3'

View File

@@ -249,8 +249,9 @@ 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)")
# Correct and tested with PsUtil 5.6.1 (Ubuntu 18.04)
# self.init_fan = False
# logger.debug("Fan speed sensors disable (see https://github.com/giampaolo/psutil/issues/1199)")
# Init the stats
self.reset()