I am creating heap dump using below command:
jmap -dump:file=DumpFile.txt
I have opened the generated file - DumpF
DumpF
If you just run jmap -histo:live or jmap -histo, it outputs the contents on the console!