转载:https://www.cnblogs.com/gossip/p/6093805.html
操作步骤如下:
1、将jar包拷贝到linux并运行

2、使用jprofiler的jpenable工具对jar包进行监控(需要先在linux安装解压jprofiler)
jpenable目录:/usr/local/jprofiler9/bin
最后输出:You can now use the JProfiler...代表运行成功

3、JProfiler启动远程监控
Session-->New Session

监控到对象

