How to know when a specific process is stuck?

Posted by Carlos Blanco on Stack Overflow See other posts from Stack Overflow or by Carlos Blanco
Published on 2010-06-10T16:48:56Z Indexed on 2010/06/10 16:52 UTC
Read the original article Hit count: 186

Filed under:
|

Is there a way to know when a specific process is "stuck" in Java?

I'm running an external application from my java program. Sometimes, this app hangs. I would like to know when this app stops working so I can kill it from my code. I'm thinking of some type of monitoring from a different thread in my code.

Any toughts?

© Stack Overflow or respective owner

Related posts about java

Related posts about process