muninlite/plugins/processes

13 lines
424 B
Text
Raw Normal View History

config_processes() {
echo "graph_title Number of Processes"
echo "graph_args --base 1000 -l 0 "
echo "graph_vlabel number of processes"
echo "graph_category processes"
echo "graph_info This graph shows the number of processes in the system."
echo "processes.label processes"
echo "processes.info The current number of processes."
}
fetch_processes() {
2020-02-07 15:15:06 +01:00
echo "processes.value" "$(echo /proc/[0-9]* | wc -w)"
}