-t <n>s|m|h|d, n is an integer referring to time interval in
seconds|minutes|hours|days which refers to the frequency of how
often to check the running processies
-h, usage and options (this help)
-l, see this script"
monproc is a simple process monitor. It prints to stdo when specified
processies that should run are not running, and/or when specified processies
that should not run are running. The script depends on the output produced
by the "ps -ax" command.
To specify which processies to monitor add names of the processies in the
"user defined variables" section at the beginning of this script. Use
whole output from the "ps -ax" COMMAND column, including the spaces. If
spaces are present, the variable value must be double quoted. Example:
run="/usr/sbin/klogd -c 3 -x"