
jmap
List of commands for jmap:
-
jmap:tldr:76ca3 jmap: Print histogram of heap usage by type.$ jmap -histo ${java_pid}try on your machineexplain this command
-
jmap:tldr:8f459 jmap: Print heap summary information.$ jmap -heap ${filename-jar} ${java_pid}try on your machineexplain this command
-
jmap:tldr:ae628 jmap: Print shared object mappings for a Java process (output like pmap).$ jmap ${java_pid}try on your machineexplain this command
-
jmap:tldr:ef5b3 jmap: Dump contents of the heap into a binary file for analysis with jhat.$ jmap -dump:format=b,file=${filename} ${java_pid}try on your machineexplain this command
-
jmap:tldr:ffa13 jmap: Dump live objects of the heap into a binary file for analysis with jhat.$ jmap -dump:live,format=b,file=${filename} ${java_pid}try on your machineexplain this command