summaryrefslogtreecommitdiff
path: root/src/pmdas/hotproc/sample.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmdas/hotproc/sample.conf')
-rw-r--r--src/pmdas/hotproc/sample.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pmdas/hotproc/sample.conf b/src/pmdas/hotproc/sample.conf
new file mode 100644
index 0000000..6421e51
--- /dev/null
+++ b/src/pmdas/hotproc/sample.conf
@@ -0,0 +1,15 @@
+#pmdahotproc
+Version 1.0
+
+# Sample configuration file for hotproc PMDA
+#
+# It selects processes who are using more than 85% of the cpu
+# over the refresh interval.
+
+cpuburn > 0.85
+
+# Another example:
+# Reporting processes which are either
+# using greater than 85% cpu or
+# are root processes using greater than 1% cpu
+# ((cpuburn > 0.01) && (uname == "root")) || (cpuburn > 0.85)