ITeye博客

Java Remote Profiler

Rule · 2017-04-04 15:00 · 编程语言 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。