Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remotely profiling a JVM

Tags:

java

profiling

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!

like image 676
Rohit Jain Avatar asked Jul 16 '10 05:07

Rohit Jain


1 Answers

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.

like image 195
Stefan K. Avatar answered Sep 28 '22 18:09

Stefan K.