diff --git a/docs/cmds.rst b/docs/cmds.rst index 9b8984aebb4f707abd65f4732d77ccdc0ef5a068..3b85cc28fe5e2d21174dc8f271d381cb194eff30 100644 --- a/docs/cmds.rst +++ b/docs/cmds.rst @@ -287,6 +287,9 @@ The following commands (key pressed) are supported while in Glances: ``I`` Show/hide IP module +``k`` + Show/hide TCP connections + ``l`` Show/hide log messages diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py index dac51e071cebf3d27746780f47e5101c50bf27bd..1be9177e8ccb4dbb11ae1dc78f5feae2a477cc84 100644 --- a/glances/outputs/glances_curses.py +++ b/glances/outputs/glances_curses.py @@ -66,6 +66,7 @@ class _GlancesCurses(object): 'G': {'switch': 'disable_gpu'}, 'h': {'switch': 'help_tag'}, 'I': {'switch': 'disable_ip'}, + 'k': {'switch': 'disable_connections'}, 'l': {'switch': 'disable_alert'}, 'M': {'switch': 'reset_minmax_tag'}, 'n': {'switch': 'disable_network'}, diff --git a/glances/plugins/glances_quicklook.py b/glances/plugins/glances_quicklook.py index 456ecb12386c0a32482a3e9e2820c9c6290d097d..bda6c24b5c904e7c0fbea7e399558d41b74955ba 100644 --- a/glances/plugins/glances_quicklook.py +++ b/glances/plugins/glances_quicklook.py @@ -67,6 +67,10 @@ class Plugin(GlancesPlugin): # We want to display the stat in the curse interface self.display_curse = True + # !!! @TODO: Debug disable / enable from conf file + # logger.info(args) + # logger.info(config.as_dict()['quicklook']) + @GlancesPlugin._check_decorator @GlancesPlugin._log_result_decorator def update(self):