简体   繁体   中英

VisualVM: Is it possible to profile an application running on a remote server that only has JRE(no JDK)

I have two computers on a network(visible to each other) and I run JVisualVM on one of the computers. I wish to monitor a java application running on the other computer. Is it possible?

I tried adding a remote server and got the screen as below:

在此处输入图片说明

But after this what steps are to be followed to profile, lets say, com.myapp.MyApp running on the other computer?

PS The remote computer does not have a JDK installed(This is a constraint). It just has a JRE.

It's possible to do monitoring on remote host. JRE is enough! But it is not possible to do profiling on remote host as stated here:

https://visualvm.java.net/applications_remote.html

The number/deep of processes which are shown by VisualVM for profiling and Sampler (local or remote) are different. The prior one hat much more details!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM