Java Monitoring, Management and Troubleshooting Tools

gangyaocn發表於2010-02-06

You can use the following tools to monitor JVM performance and resource consumption. The tools described in this section are unsupported and experimental, and should be used with that in mind. They may not be available in future JDK versions.

Platform support:

  • jconsole: all platforms.
  • jps, jstat, and jstatd: all platforms except Windows 98 and Windows ME.

For more information, see . java.lang.management --&gt

Tool Name Brief Description
Experimental: Java Monitoring and Management Console - JMX-compliant graphical tool for monitoring a Java virtual machine. It can monitor both local and remote JVMs.
Experimental: JVM Process Status Tool - Lists instrumented HotSpot Java virtual machines on a target system.
Experimental: JVM Statistics Monitoring Tool - Attaches to an instrumented HotSpot Java virtual machine and collects and logs performance statistics as specified by the command line options.
Experimental: JVM jstat Daemon - Launches an RMI server application that monitors for the creation and termination of instrumented HotSpot Java virtual machines and provides a interface to allow remote monitoring tools to attach to Java virtual machines running on the local system.

The following tools can be used for specific troubleshooting tasks. The tools described in this section are unsupported and experimental in nature and should be used with that in mind. They may not be available in future JDK versions.

These tools are not currently available on Windows platforms.

Tool Name Brief Description
Experimental - Configuration Info for Java - Prints configuration information for for a given process or core file or a remote debug server.
Experimental - Memory Map for Java - Prints shared object memory maps or heap memory details of a given process or core file or a remote debug server.
Experimental - Serviceability Agent Debug Daemon for Java - Attaches to a process or core file and acts as a debug server.
Experimental - Stack Trace for Java - Prints a stack trace of threads for a given process or core file or remote debug server.

Refer to the which provides descriptions of tools, options, and other items for use in analyzing problems. This document contains suggestions about what to try before submitting a bug report and what data to collect for a report.

[@more@]

JAVA ,

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26651/viewspace-1031155/,如需轉載,請註明出處,否則將追究法律責任。

相關文章