Monitoring from remote JVM?? Is it possible??

  3 posts   Feedicon  
Replies: 2 - Last Post: January 17, 2012 00:33
by: mshrecruit
showing 1 - 3 of 3
 
Posted: December 29, 2011 01:23 by mshrecruit
Hello~

I'm using VisualVM for performance tuing at work

Recently, I found that btrace provides a plugin for VisualVM.

As you know, in VisualVM.. it is possible monitoring and profiling remote JVM


I already tested VisualVM plug-in works gread for local JVM..

But remote JVM?? Not yet... and can not find anything on Google.


So this is a question...

Can I instrument remote JVM on my local VisualVM??

If it is possilbe.. how??

Regards...
 
Posted: January 15, 2012 18:41 by Jaroslav Bachorik
Not directly. You would need to either start the target JVM with btrace agent and noServer=false property or use the dynamic attach on the same host to startup the btrace server. The port of the started server is stored in the system property btrace.port.

Then you should be able to use VisualVM to attach to the remote JVM and submit a btrace script. However, I am not 100% sure - I'll test it and let you know.

-JB-
 
Posted: January 17, 2012 00:33 by mshrecruit
Thank you for your reply JB

There are lots of JVMs I have to manage in my company, (About 500 JVMs)

so I have been trying to find out solution for managing remoe JVMs on my local PC

or on a development Windows NT server.

You answered it is not possible to instrument remote JVM directly but I'll try your suggestion and let you know too.

Thanks again for your suggestion.. Have nice day!
Replies: 2 - Last Post: January 17, 2012 00:33
by: mshrecruit
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close