This content has been marked as final.
Show 2 replies
-
1. High CPU thread from the thread dump
peterj Apr 25, 2011 5:27 PM (in response to jimyliu)A JVM thread dump will tell you what each thread is doing at that point in time, it will not tell you how busy the threads have been. However, the thread dump does provide the operating system thread id (labelled "nid"), and you can use that to compare to the output of OS tools that provide thread usage (such as ps -m).
Note that in a Java EE environment where the web or app server maintains a thread pool to work on requests that thread usage information probably does not mean all that much.
-
2. High CPU thread from the thread dump
jimyliu Apr 25, 2011 6:47 PM (in response to peterj)Hi Peter,
Thanks for the suggestion. Through your suggestion, I found high CPU thread. :-)
Jimy