Monitoring and Management
J2SE 5.0 introduces comprehensive monitoring and management support for the Java platform.
J2SE 5.0 includes the following APIs for monitoring and management:
The java.lang.management API enables monitoring and managing the Java virtual machine and the underlying operating system. The API enables applications to monitor themselves and enables JMX-compliant tools to monitor and manage a virtual machine locally and remotely.
Example code is provided in the
The com.sun.management package contains Sun Microsystems' platform extension to the java.lang.management API and the management interface for some other components of the platform.
The java.util.logging.LoggingMXBean interface enables you to retrieve and set logging information.
Java Monitoring and Management Tools (jconsole, jps, jstat, jstatd)