From 4ee944dcb8d022b39cbecc29c3a0cd11513c84ae Mon Sep 17 00:00:00 2001 From: "L.Schmidt" Date: Mon, 1 Nov 2010 14:36:57 +0100 Subject: [PATCH] Initial version --- plugins/other/pid | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 plugins/other/pid diff --git a/plugins/other/pid b/plugins/other/pid new file mode 100755 index 00000000..09e2c2b0 --- /dev/null +++ b/plugins/other/pid @@ -0,0 +1,30 @@ +#!/bin/bash + +#%# family=manual +#%# capabilities=autoconf + +STYLE=LINE2 +GRAPH="pid" +SECTION="system" + +run_autoconf() { + echo yes +} + +run_config() { +cat << EOF +graph_title ${GRAPH} +graph_category ${SECTION} +graph_vlabel pid +pid.label pid +pid.draw LINE2 +pid.min 0 +pid.info pid +EOF +} + +run_() { +echo "pid.value $$" +} + +run_$1