jcmd 命令

jps 首先做到 pid
jcmd help
jcmd $pid help
jcmd $pid help GC.heap_dump

jcmd $pid GC.heap_dump heap.hprof

标签: none

添加新评论