`
jacky2007
  • 浏览: 167395 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

JProfiler远程监控配置

    博客分类:
  • JAVA
阅读更多

1、下载与客户端版本一至的JProfiler服务器程序,如我正在使用的7.1.2,http://download.ej-technologies.com/jprofiler/jprofiler_linux_7_1_2.sh

2、直接安装jprofiler_linux_7_1_2.sh -c (-c表示在命令行下安装)

3、设置环境变量 LD_LIBRARY_PATH={JProfiler install directory}/bin/linux-x64

4、在JAVA程序启动参数中加上以下内容:

   -agentpath:{JProfiler install directory}/bin/linux-x64/libjprofilerti.so -Xbootclasspath/a:{JProfiler install directory}/bin/agent.jar

  如 java -agentpath:{JProfiler install directory}/bin/linux-x64/libjprofilerti.so -Xbootclasspath/a:{JProfiler install directory}/bin/agent.jar test.jar

 

其实JProfiler帮助文档->Reference->Manager sessions->Probe settings->Starting remote sessions中有详细说明

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics