tags:

views:

50

answers:

3

I need to remotely profile a JVM for CPU Usage, IO stats and File descriptor/handler count and support both *NIX and windows platforms while doing so. I tried using the SIGAR API, which abstracts the platforms very well using an underlying native code implementation, but it does not support remote profiling. Is there an alternative API which can do this? Alternatively, is it feasible to extend the SIGAR framework for remote JVM monitoring? Any hints on where to look at would be helpful. Thanks in advance!

+1  A: 

NetBeans profiler provides all kinds of profiling including remote sessions. See this page from documentation to start remote debugging:

Attaching Profiler to Local or Remote JVM

Daniel Murygin
This utility does not allow me to profile the parameters I indicated. In particular, it does not provide me the ability to measure io stats or fd count.
esawtooth
+1  A: 

Afaik, the JVM in general can be configured to allow remote profiling.

Eclipse TPTP has profiling and even nice charting capabilities, they mention networking in their Data Collection Subsystem

The JVisualVM, shipped with the JDK, also has a remote section.

Stefan K.
+1  A: 

You may try JProfiler. Although its paid you can try out the evaluation version first

Gopi