Friday, February 8, 2013

Jps and jstack for java process management


Get process id:
/usr/java/bin/jps -v | grep my_app
16831 ......

Show stack of execution in process to define place of hang:
/usr/java/bin/jstack 16831


You can kill that process:
kill 16831

No comments:

Post a Comment