jps查看java进程号
[root@aiguoba ~]# jps3664 service-device.jar22034 service-management.jar3267 Jps
jmap根据进程号导出dump文件[root@aiguoba ~]# jmap -dump:format=b,file=dumpfile.hprof 3364Dumping heap to /root/dumpfile.hprof …Heap dump file created
要发表评论,您必须先登录。