summaryrefslogtreecommitdiffstats
path: root/glances/plugins/glances_help.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/plugins/glances_help.py')
-rw-r--r--glances/plugins/glances_help.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/glances/plugins/glances_help.py b/glances/plugins/glances_help.py
index 48f8d40b..653aeac4 100644
--- a/glances/plugins/glances_help.py
+++ b/glances/plugins/glances_help.py
@@ -23,8 +23,7 @@ Help plugin.
Just a stupid plugin to display the help screen.
"""
-# Import Glances libs
-from glances.core.glances_globals import appname, psutil_version, version
+from glances.globals import appname, psutil_version, version
from glances.plugins.glances_plugin import GlancesPlugin
@@ -34,7 +33,7 @@ class Plugin(GlancesPlugin):
def __init__(self, args=None, config=None):
"""Init the plugin."""
- GlancesPlugin.__init__(self, args=args)
+ super(Plugin, self).__init__(args=args)
# Set the config instance
self.config = config
@@ -92,6 +91,8 @@ class Plugin(GlancesPlugin):
self.view_data['enable_disable_docker'] = msg_col2.format('D', 'Enable/disable Docker stats')
self.view_data['enable_disable_quick_look'] = msg_col.format('3', 'Enable/disable quick look plugin')
self.view_data['show_hide_ip'] = msg_col2.format('I', 'Show/hide IP module')
+ self.view_data['diskio_iops'] = msg_col2.format('B', 'Count/rate for Disk I/O')
+ self.view_data['show_hide_top_menu'] = msg_col2.format('5', 'Show/hide top menu (QL, CPU, MEM, SWAP and LOAD)')
self.view_data['edit_pattern_filter'] = 'ENTER: Edit the process filter pattern'
def get_view_data(self, args=None):
@@ -157,13 +158,15 @@ class Plugin(GlancesPlugin):
ret.append(self.curse_add_line(self.view_data['show_hide_help']))
ret.append(self.curse_new_line())
ret.append(self.curse_add_line(self.view_data['enable_disable_quick_look']))
- ret.append(self.curse_add_line(self.view_data['quit']))
+ ret.append(self.curse_add_line(self.view_data['diskio_iops']))
ret.append(self.curse_new_line())
ret.append(self.curse_add_line(self.view_data['enable_disable_top_extends_stats']))
+ ret.append(self.curse_add_line(self.view_data['show_hide_top_menu']))
ret.append(self.curse_new_line())
ret.append(self.curse_add_line(self.view_data['enable_disable_short_processname']))
ret.append(self.curse_new_line())
ret.append(self.curse_add_line(self.view_data['enable_disable_irix']))
+ ret.append(self.curse_add_line(self.view_data['quit']))
ret.append(self.curse_new_line())
ret.append(self.curse_new_line())