在catinlin.sh的最上面加上
JAVA_OPTS=" -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:/lnmp/tomcat8/gc.$$.log"
在catinlin.sh的最上面加上
JAVA_OPTS=" -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:/lnmp/tomcat8/gc.$$.log"
上一篇:Java-性能调优-理解GC日志
下一篇:大型跨境电商 JVM 调优经历
tomcat日志输出控制
可以加上%t参数,比如:java -server -Xms1g -Xmx1g -Xmn100m -XX:+
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M