|
Search Solutions & Best Practices
Browse Solutions & Best Practices
|
OverviewThe attached example illustrates usage of the JMX API, getting the JVM statistics and the Space statistics. The example collects statistics and generates a consolidated report of the space and its JVM activity. The report will include the following columns: You may view the report using any spread sheet tool, graph the statistics and find correlations between the space activity and the JVM behavior. To install the example: To run the example: java -classpath ./;JSpaces.jar com.jmxutil.JMXSpaceStats jini://*/*/space space_stats.txt 10000
Example usage options: java com.jmxutil.JMXSpaceStats space_url logfile sampling_duration The example works both with JDK 1.5 and JDK 1.6. |
Additional resources: XAP Application Server | XAP Data Grid | XAP for Cloud Computing | XAP J2EE Support

