jstack and the target output

Piotr Bzdyl piotr at bzdyl.net
Thu Nov 21 05:06:39 PST 2013


I wasn't sure which OpenJDK mailing list I should choose for my question.
As I have issues with jstack SA related group seemed the best place.

I have the following issue:

On console one (let's call it pts/1) I start a sample java app (let's say
its pid is 1234). On another console (pts/2) I execute:

jstack 1234

As a result pts/2 displays:
1234: Unable to open socket file: target process not responding or HotSpot
VM not loaded
The -F option can be used when the target process is not responding

And on pts/1 I see the thread dump printed. I would rather expect that the
thread dump will be displayed on pts/2 and nothing will be printed to
pts/1. I tried to use different versions of OpenJDK but the result was
always the same.

Could you provide me any hints what might be wrong?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20131121/4c06e633/attachment-0001.html 

More information about the serviceability-dev mailing list