pull/354/head
Nicolas Hennion 2014-03-29 14:37:58 +01:00
parent 0f5a60b44d
commit c364c7070f
6 changed files with 8 additions and 5 deletions

View File

@ -39,7 +39,7 @@ def __signal_handler(signal, frame):
def end():
"""
Stop Glances
Stop Glances
"""
if (core.is_standalone()):

View File

@ -36,4 +36,5 @@ if ((__package__ is None) and (not hasattr(sys, "frozen"))):
import glances
if __name__ == '__main__':
glances.main()
glances.main()

View File

@ -17,6 +17,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Main Glances script
"""
# Import system libs
import sys

View File

@ -169,7 +169,7 @@ class glancesProcesses:
# Do not process if disable tag is set
if (self.disable_tag):
return
return
# Get the time since last update
time_since_update = getTimeSinceLastUpdate('process_disk')

View File

@ -60,7 +60,7 @@ class Plugin(GlancesPlugin):
core_stats["log"] = cpu_count()
except NameError:
core_stats = None
self.stats = core_stats
return self.stats

View File

@ -51,7 +51,6 @@ class Plugin(GlancesPlugin):
# Init stats
self.diskio_old = []
def update(self):
"""
Update disk IO stats