使用管理控制台收集 Java 转储和核心文件
可以使用 Java™ 运行时环境来创建转储和核心文件以帮助进行故障诊断。 可以使用管理控制台来触发这些转储和核心文件的创建。
关于此任务
Java 虚拟机 (JVM) 能够生成 Java 转储和核心文件以帮助进行故障诊断。可以使用堆转储和系统转储文件来帮助您诊断内存相关问题,如内存泄露。可以使用 Java 核心文件来帮助您诊断下列问题:CPU 在何种情况下持续处于 100% 忙碌状态、线程何时挂起或者线程在何种情况下死锁。


![[Solaris]](../images/solaris.gif)
The Heap dump request to the server <server_name> failed because of the following reason:
Could not take single dump as Sun Microsystems Inc. is not supported.
或![[Solaris]](../images/solaris.gif)
The System dump request to the server <server_name> failed because of the following reason:
Could not take single dump as Sun Microsystems Inc. is not supported.
![[HP-UX]](../images/hpux.gif)
The Heap dump request to the server <server_name> failed because of the following reason:
Could not take single dump as HP-UX is not supported.
或![[HP-UX]](../images/hpux.gif)
The System dump request to the server <server_name> failed because of the following reason:
Could not take single dump as HP-UX is not supported.
sptcfg过程
- 在导航窗格中,单击故障诊断 > Java 转储和核心。
- 选择您需要从中收集转储或核心的服务器。
- 根据您的需要,单击系统转储、Java 核心或堆转储。