mirror of https://github.com/nicolargo/glances
Disable monitoring process on 'z' keypress
parent
e54e68fbd1
commit
6f2dcb5dac
|
@ -88,7 +88,7 @@ class Plugin(GlancesPlugin):
|
|||
ret = []
|
||||
|
||||
# Only process if stats exist and display plugin enable...
|
||||
if self.stats == []:
|
||||
if self.stats == [] or args.disable_process:
|
||||
return ret
|
||||
|
||||
# Build the string message
|
||||
|
|
Loading…
Reference in New Issue