Jprofile配置

上一篇 / 下一篇  2016-12-21 14:21:05 / 个人分类:Jmeter

1.加入/etc/profile
export LD_LIBRARY_PATH=:/opt/jprofiler9/bin/linux-x64
2.然后source /etc/profile
3.加入catalina.sh
CATALINA_OPTS="$CATALINA_OPTS -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/opt/jprofiler9/bin/agent.jar"
netstat -n | awk '/^tcp/ {++state[$NF]} END {for(key in state) print key,"\t",state[key]}'
JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=192.168.0.237
                                                     -Dcom.sun.management.jmxremote.port=18999
                                                     -Dcom.sun.management.jmxremote.ssl=false
                                                     -Dcom.sun.management.jmxremote.authenticate=false"

TAG:

 

评分:0

我来说两句

Open Toolbar