Process watchdog

Hi all,I'm developing a watchdog program to monitor whether some processes are running. If not, the watchdog will have to run that process by calling a shell script.Does anyone know how to check whether process is running on UNIX in java program?Thanks.
[282 byte] By [Joannehoa] at [2007-10-2 6:09:48]
# 1
How about cheking ps output?
hiwaa at 2007-7-16 13:10:30 > top of Java-index,Java Essentials,New To Java...