A JMX-compliant graphical tool for monitoring a Java virtual machine. It can monitor both local and remote JVMs. It can also monitor and manage an application.
(兼容JMX的图形工具,用于监视Java虚拟机。 它可以监视本地和远程JVM。 它还可以监视和管理应用程序。)
3. jstat
查看内存
Monitors Java Virtual Machine (JVM) statistics. This command is experimental and unsupported.
(监控Java虚拟机(JVM)的统计数据。这个命令是经验性的和不支持的。)
doc jstat
4. jstack
Stack Trace for Java - Prints a stack trace of threads for a given process or core file or remote debug server.
Prints Java thread stack traces for a Java process, core file, or remote debug server. This command is experimental and unsupported.
(打印Java进程,核心文件或远程调试服务器的Java线程堆栈跟踪。此命令是实验性的,不受支持。)
doc jstack
5. jmap
主要是-dump 下载信息到文件中,使用专门的图形化工具查看
Prints shared object memory maps or heap memory details for a process, core file, or remote debug server. This command is experimental and unsupported.
(打印进程,核心文件或远程调试服务器的共享对象内存映射或堆内存详细信息。此命令是实验性的,不受支持。)