如何设置JProfile只监控某一个服务 在对应服务的catalina.sh、startup.sh脚本里设置启动参数: JAVA_OPTS="-agentpath:/home/appuser/jprofiler9/bin/linux-x64/libjprofilerti.so=port=8849,nowait" 查看启动参数