문제

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