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:
Daniel Murygin
2010-07-16 07:24:32
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
2010-07-16 07:40:51
+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.
2010-07-16 09:24:54