summaryrefslogtreecommitdiffstats
path: root/docs/aoa/amps.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/aoa/amps.rst')
-rw-r--r--docs/aoa/amps.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/aoa/amps.rst b/docs/aoa/amps.rst
index e32d6192..5de564ab 100644
--- a/docs/aoa/amps.rst
+++ b/docs/aoa/amps.rst
@@ -49,6 +49,20 @@ less than countmin):
.. image:: ../_static/amp-python-warning.png
+If the regex option is not defined, the AMP will be executed every refresh
+time and the process count will not be displayed (countmin and countmax will
+be ignored).
+
+For example:
+
+.. code-block:: ini
+
+ [amp_conntrack]
+ enable=false
+ refresh=30
+ one_line=false
+ command=sysctl net.netfilter.nf_conntrack_count;sysctl net.netfilter.nf_conntrack_max
+
User defined AMP
----------------