This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Is there a way to find out what processes are running on a Java VM?
When we shut Tomcat the console window that our app opened in does not close. We are thinking that this is because something associated with the app is still running.
However, just in general, I think it would be interesting to see what's running.
Thanks in advance for any guidance.
-=beeky
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35240
7
posted
0
It's possible to list all the threads that are running in a JVM. The following piece of code does this. (Yes, it's so old that it generates HTML directly in a servlet - JSP didn't exist back then :-)
[ February 21, 2007: Message edited by: Ulf Dittmer ]