0

I want to build a workflow in BMC Atrium Orchestrator which takes the heap dump of particular java process. The flow which I have to follow is : 1. Input the application name. 2. Find the JVM which is being used by the entered application. 3. Take heap hump of a process running on that JVM.

Can I get some help with step 2, i.e. how can I determine which JVM is being used by the running application?

Thanks in advance.

4

2 回答 2

0

您可以使用随 JDK 一起提供的jconsolejvisualvmjhat工具来处理您提到的所有事情。

于 2013-03-07T10:09:35.900 回答
0

我发现以下与您的问题相关的链接。请参考

以编程方式设置监控和管理

来自堆栈溢出的本地主机上正在运行的 JVM 列表

于 2013-03-07T10:12:09.763 回答