`
Rule
  • 浏览: 31690 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Java Remote Profiler

 
阅读更多

grant codebase "file:${java.home}/../lib/tools.jar" {

    permission java.security.AllPermission;  

};

 

jstatd -J-Djava.security.policy=jstatd.all.policy

 

java -cp . \

-Dcom.sun.management.jmxremote \

-Djava.rmi.server.hostname=x.x.x.x \

-Dcom.sun.management.jmxremote.port=9004 \  

-Dcom.sun.management.jmxremote.authenticate=false \  

-Dcom.sun.management.jmxremote.ssl=false \

-jar test.jar

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics