summaryrefslogtreecommitdiffstats
path: root/conf/glances.conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2020-07-21 10:26:40 +0200
committernicolargo <nicolas@nicolargo.com>2020-07-21 10:26:40 +0200
commit05897a61dd0a1da366e2f27231cbf0df19bebfb2 (patch)
tree4d96683b0c9d208b37ff23e6fd55dae12c73cccd /conf/glances.conf
parent219c4de08f240320cae96e0a5a4a082db45a06da (diff)
Enhancement Request: .conf parameter for AMP #1690
Diffstat (limited to 'conf/glances.conf')
-rw-r--r--conf/glances.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 7ed466ae..50e4f425 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -572,8 +572,9 @@ countmax=20
[amp_conntrack]
# Use comma separated for multiple commands (no space around the comma)
+# If the regex key is not defined, the AMP will be executed every refresh second
+# and the process count will not be displayed (countmin and countmax will be ignore)
enable=false
-regex=\/sbin\/init
refresh=30
one_line=false
command=sysctl net.netfilter.nf_conntrack_count;sysctl net.netfilter.nf_conntrack_max