I have connected VisualVM via JMX to an AIX server to profile my Java process. But the "Profiler" tab is missing I just get Overview, Monitor and Threads.

Have I missed any configuration? When opening a local Java process I see the "Profiler" tab. Or isn't it possible to profile a remote application?

有帮助吗?

解决方案

Which version of VisualVM do you use? "Profiler" tab is not available for remote applications, but you should be able to use "Sampler" tab, which uses JMX connection to do CPU sampling of your remote application.

其他提示

I'm afraid that's not possible.

From the JVisualVm documentation:

Note. Java VisualVM can retrieve monitoring information on remote applications but it cannot profile remote applications.

You might want to refer to this for remote profiling: Is there a remote profiler for Java? (that uses JMX preferably)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top