質問

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