Tracing VM Threads on Linux
Mark R Maxey
Mark_R_Maxey at Raytheon.Com
Wed Apr 29 06:19:35 PDT 2009
Thanks a bunch. This is exactly what I was looking for.
Mark_R_Maxey at Raytheon.com
Volker Simonis <volker.simonis at gmail.com>
04/29/2009 07:17 AM
Mark R Maxey <Mark_R_Maxey at raytheon.com>
hotspot-dev at openjdk.java.net
Re: Tracing VM Threads on Linux
you can for example use "jstack <pid>" to get a stack dump of all
threads which are running in a VM. Among other information, the thread
dump contains the thread name and a field "nid" which corresponds to
the SPID you see when you do "ps -T".
Hope this helps,
On 4/27/09, Mark R Maxey <Mark_R_Maxey at raytheon.com> wrote:
> Is there a way to correlate a SUSE 10 PID to a Java thread? If you do a
> -T", you can see a unique SPID for each Java thread. However, the CMD
> column is all "java".
> We periodically like to do an strace on a running JVM. It is nice to be
> able to correlate the information we see there back to our debug logs
> contain the Java thread name & group name.
> Mark Maxey
> Raytheon, Garland
> Mark_R_Maxey at Raytheon.com
The following line is added for your protection and will be used for
analysis if this message is reported as spam:
(Raytheon Analysis: IP=22.214.171.124; e-from=volker.simonis at gmail.com;
from=volker.simonis at gmail.com; date=Apr 29, 2009 12:17:41 PM; subject=Re:
Tracing VM Threads on Linux)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-dev