Tracing VM Threads on Linux
Volker Simonis
volker.simonis at gmail.com
Wed Apr 29 05:17:38 PDT 2009
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
More information about the hotspot-dev
mailing list