3
# Plugin to monitor the number of processes on the machine. Much linke
4
# doing a "ps | wc -l".
9
# autoconf (optional - used by munin-config)
11
# Magick markers (optional - used by munin-config and som installation
14
#%# capabilities=autoconf
18
if [ "$1" = "autoconf" ]; then
23
if [ "$1" = "config" ]; then
25
echo 'graph_title Number of Processes'
26
echo 'graph_args --base 1000 -l 0 '
27
echo 'graph_vlabel number of processes'
28
echo 'graph_category processes'
29
echo 'graph_info This graph shows the number of processes in the system.'
30
echo 'processes.label processes'
31
echo 'processes.info The current number of processes.'
32
echo 'processes.draw LINE2'
36
echo -n "processes.value "
37
/bin/ps ax | /usr/bin/wc -l