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 Maxey
Raytheon, Garland
580/2/P22-1
(972)205-5760
Mark_R_Maxey at Raytheon.com
Volker Simonis <volker.simonis at gmail.com>
04/29/2009 07:17 AM
To
Mark R Maxey <Mark_R_Maxey at raytheon.com>
cc
hotspot-dev at openjdk.java.net
Subject
Re: Tracing VM Threads on Linux
Hi Mark,
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,
Volker
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
"ps
> -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
that
> contain the Java thread name & group name.
>
>
> Thanks!
>
>
> Mark Maxey
> Raytheon, Garland
> 580/2/P22-1
> (972)205-5760
> 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=209.85.218.179; 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...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20090429/4237fb75/attachment.html
More information about the hotspot-dev
mailing list