Java Monitoring&Troubleshooting Tools

本文介绍了JDK中用于监控JVM性能统计的实验性工具,包括jps、jstat和jstatd,以及用于特定故障排除任务的工具如jinfo、jhat、jmap、jsadebugd和jstack。这些工具虽不被官方支持,但在解决复杂问题时可能非常有用。

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 NameBrief Description
jpsExperimental: JVM Process Status Tool - Lists instrumented HotSpot Java virtual machines on a target system.
jstatExperimental: 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.
jstatdExperimental: 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 NameBrief Description
jinfoExperimental - Configuration Info for Java - Prints configuration information for a given process or core file or a remote debug server.
jhatExperimental - Heap Dump Browser - Starts a web server on a heap dump file (for example, produced by jmap -dump), allowing the heap to be browsed.
jmapExperimental - 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.
jsadebugdExperimental - Serviceability Agent Debug Daemon for Java - Attaches to a process or core file and acts as a debug server.
jstackExperimental - Stack Trace for Java - Prints a stack trace of threads for a given process or core file or remote debug server.

转载于:https://www.cnblogs.com/HopkinsCybn/p/10051603.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值