Process Monitor - Count of all running processes.apm-templateCommand Line=ksh ${SCRIPT} -----------#!/usr/bin/ksh#set -xstatus=`ps -ef | grep -v grep | wc -l`if [[ -n "$status" ]]; then echo "\nStatistic: $status"else echo "\nStatistic: 0"fi