使用jprofiler过程,只发现了对于本地机器的监控,如何远程监控其他机器或虚拟机上的进程呢。
:打开 菜单Session->Integeration Widzards ->new Server Integeration
第二步:选择 Generic Application Server->On a remote computer
第三步:JVM选择建议选择Oracle,根据实际情况选择Version和Mode。Mode选择使用的是interpreted。
第四步:选择wait for a connection from the Jprofiler GUI,点击next
第五步:Remote地址填写要连接的Linux下的IP:比如192.168.51.132
第六步:填写Linux下jprofiler的安装目录:如图所示
第七步:端口使用jprofiler默认的8849
后面的步骤点到Finish即可。