Tomcat内存分析相关方法(jmap和mat)

Linux环境命令行 首先,根据进程命令,获取运行的tomcat的进程ID ps aux | grep tomcat | grep java | grep bsc 1 ps aux | grep tomcat | grep java | grep bsc 在第二列可以看到进程ID 然后使用jmap可以查看内存占比: /home/work/bsc/java/jdk-1.7-7u60/bin/jmap
相关文章
相关标签/搜索