laghdaf / jvmtop

Automatically exported from code.google.com/p/jvmtop
0 stars 0 forks source link

Does not work - possible solution. #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
jvmtop does not work for me (ERROR: Could not attach to process). Running 
64-bit ubuntu 13.04. 

I also noticed that jstack does not work but running jstack like this works:

jstack -J-d64 -m <pid>

Maybe this can be used in jvmtop to fix the issue?

Original issue reported on code.google.com by UnknownS...@gmail.com on 26 Aug 2013 at 8:57

GoogleCodeExporter commented 9 years ago
Thanks for the comment!

Unfortunately, jstack's -m mode is a native one and is highly depending on the 
JDK of both monitor and to-be-monitored variant. Additionally, this is likely 
platform-specific.

IMHO, there's no way to implement this within jvmtop which uses 
javax.management for getting its telemetry.

However, patches and ideas are always welcome.

Original comment by patric.r...@gmail.com on 19 Aug 2014 at 8:30