查看tomcat进程内存使用率(当O项到达100%就说明内存溢出了)
[root@iZ25ywqa7pfZ ~]# jps -v 29692 Bootstrap -Djava.util.logging.config.file=/product/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/product/tomcat/endorsed -Dcatalina.base=/product/tomcat -Dcatalina.home=/product/tomcat -Djava.io.tmpdir=/product/tomcat/temp 11935 Jps -Denv.class.path=.:/usr/java/jdk1.8.0_73/lib:/dt.jar:/usr/java/jdk1.8.0_73/lib/tools.jar -Dapplication.home=/usr/local/java -Xms8m [root@iZ25ywqa7pfZ ~]# [root@iZ25ywqa7pfZ ~]# jstat -gcutil 29692 S0 S1 E O M CCS YGC YGCT FGC FGCT GCT 76.40 0.00 60.64 32.13 97.01 94.12 3612 49.253 7 1.412 50.665 [root@iZ25ywqa7pfZ ~]#