Monday, November 5, 2007

Tip: Getting a thread dump logged

Quick tip: If you're running a Java program and you want it to dump the status of the threads, this will work on the Apple, Sun and IBM JVMs (on UNIX/Linux):
kill -3 pid

No comments:

Post a Comment