jprofiler安装与使用

1: 修改/etc/profile

增加以下内容:

JPROFILER_HOME=/opt/jprofiler9/bin/linux-x64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JPROFILER_HOME

2:tomcat /bin/catalina.sh

增加以下内容:

CATALINA_OPTS="$CATALINA_OPTS -Xms128m -Xmx128m $JPDA_OPTS -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/opt/jprofiler9/bin/agent.jar"

3:安装jprofiler_linux_9_0_1.sh(直接执行即可)

4:启动tomcat

5:安装jprofiler_windows_9_0_1.exe

6:即可建立远程监控(cpu 内存等)

L-Larry_Lau@163.com#23874-hrwpdp1sh1wrn#0620
L-Larry_Lau@163.com#36573-fdkscp15axjj6#25257
L-Larry_Lau@163.com#5481-ucjn4a16rvd98#6038
L-Larry_Lau@163.com#99016-hli5ay1ylizjj#27215
L-Larry_Lau@163.com#40775-3wle0g1uin5c1#0674
--------------------------------------------------------------
L-Larry_Lau@163.com#7009-14frku31ynzpfr#20176
L-Larry_Lau@163.com#49604-1jfe58we9gyb6#5814
L-Larry_Lau@163.com#25531-1qcev4yintqkj#23927
L-Larry_Lau@163.com#96496-1qsu1lb1jz7g8w#23479
L-Larry_Lau@163.com#20948-11amlvg181cw0p#171159

上一篇:BZOJ3532 : [Sdoi2014]Lis


下一篇:如何确定Kafka的分区数、key和consumer线程数