zoukankan      html  css  js  c++  java
  • Java Monitoring&Troubleshooting Tools

    JDK Tools and Utilities

    Monitoring Tools

    You can use the following tools to monitor JVM performance statistics. 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.
    These tools are supported on all platforms except Windows 98 and Windows ME.

    Tool Name Brief Description
    jps Experimental: JVM Process Status Tool - Lists instrumented HotSpot Java virtual machines on a target system.
    jstat 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.
    jstatd 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.

    Troubleshooting Tools

    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.
    Some of these tools are not currently available on Windows platforms.

    Tool Name Brief Description
    jinfo Experimental - Configuration Info for Java - Prints configuration information for a given process or core file or a remote debug server.
    jhat Experimental - Heap Dump Browser - Starts a web server on a heap dump file (for example, produced by jmap -dump), allowing the heap to be browsed.
    jmap 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.
    jsadebugd Experimental - Serviceability Agent Debug Daemon for Java - Attaches to a process or core file and acts as a debug server.
    jstack Experimental - Stack Trace for Java - Prints a stack trace of threads for a given process or core file or remote debug server.
  • 相关阅读:
    php基础设计模式(注册树模式、工厂模式、单列模式)
    微信公众平台实现获取用户OpenID的方法
    如何成为一名优秀的工程师(语义篇)
    操作系统死锁原因及必要条件
    Word中怎样删除分节符而不影响前节页面设置
    当代码变更遇上精准测试的总结
    Windows网络命令
    linux shell编程
    Oracle远程登录命令
    数据库别名AS区别
  • 原文地址:https://www.cnblogs.com/HopkinsCybn/p/10051603.html
Copyright © 2011-2022 走看看