From 89cb007bdf4a70dbf373ef4891d6b97e4258dcb8 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sun, 7 Jul 2019 10:04:08 +0200 Subject: [PATCH] Fan speed and voltages section? #1398 --- NEWS.rst | 1 + glances/__init__.py | 2 +- glances/plugins/glances_sensors.py | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS.rst b/NEWS.rst index afc26499..2b4e8d48 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -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: diff --git a/glances/__init__.py b/glances/__init__.py index 40633133..f92d9133 100644 --- a/glances/__init__.py +++ b/glances/__init__.py @@ -27,7 +27,7 @@ import signal import sys # Global name -__version__ = '3.1.1RC1' +__version__ = '3.1.1RC2' __author__ = 'Nicolas Hennion ' __license__ = 'LGPLv3' diff --git a/glances/plugins/glances_sensors.py b/glances/plugins/glances_sensors.py index 36c18ad7..da2e9137 100644 --- a/glances/plugins/glances_sensors.py +++ b/glances/plugins/glances_sensors.py @@ -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() -- GitLab