Sunday, August 26, 2007

Using JCOnsole to Monitor Applications

clipped from java.sun.com

Using JConsole to Monitor Applications


The article describes how JConsole can be used to observe information about an application running on the Java platform. The article first gives an overview of the J2SE 5.0 monitoring and management architecture and how JConsole plugs into the architecture. It then describes how to use JConsole to access several core monitoring and management functionalities provided by the Java platform including:

  • Detect low memory
  • Enable or disable GC and class loading verbose tracing
  • Detect deadlocks
  • Control the log level of any loggers in an application
  • Access OS resources—Sun's platform extension
  • Manage an application's Managed Beans (MBeans)
  • Figure 1: Architecture of J2SE 5.0 Monitoring and Management Support
    Figure 1: Architecture of J2SE 5.0 Monitoring and Management Support.

    0 comments: