mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 13:52:13 +01:00
7c8bd1e394
git-svn-id: svn://svn.code.sf.net/p/muninlite/code/muninlite@1 35caa317-6b62-4e8a-81c0-b04f0c356266
13 lines
452 B
Text
13 lines
452 B
Text
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.draw LINE2"
|
|
echo "processes.info The current number of processes."
|
|
}
|
|
fetch_processes() {
|
|
echo "processes.value" $(echo /proc/[0-9]* | wc -w)
|
|
}
|