user3263234 user3263234 - 1 year ago 199
Groovy Question

Check if process is running by using PID

In Groovy, is there a way to check if the program is still running by using the PID?

Answer Source

yes there is a way to check if the program running ,To check for the existence of a process, use

kill -0 $PID
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download