JMAP(1)
π NAME π
okay so bestie, meet jmap β the JDK Commands manual page bestie also known as JMAP(1) π
β¨. Its whole NAME-line job? print details of a specified process π«Ά. That's it, that's the errand.
πΈ SYNOPSIS πΈ
π¨ Note: This command is experimental and unsupported.
Here's the little summoning spell:
jmap [options] pid
optionsβ This is the whole little bag ofjmapcommand-line options. See Options for the jmap Command for the full tea β.pidβ The process ID whose info, as chosen byoptions, is gonna get printed. The process must be a Java process. Need a list of Java processes running on the machine? Use either thepscommand or β if the JVM processes are not running in a separatedockerinstance β thejpscommand. iykyk π
π¦ DESCRIPTION π¦
The jmap command prints details of a specified running process. It's giving βprocess info main character energy,β honestly π.
π¨ Note: This command is unsupported and might not be available in future releases of the JDK. On Windows Systems where thedbgeng.dllfile isn't present, the Debugging Tools for Windows must be installed to make these tools work. ThePATHenvironment variable should contain the location of thejvm.dllfile that's used by the target process or the location from which the core dump file was produced. π
π₯ OPTIONS FOR THE JMAP COMMAND π₯
-clstats pidβ Hooks up to a running process and prints class loader statistics of Java heap. π-finalizerinfo pidβ Hooks up to a running process and prints information on objects awaiting finalization. π°οΈ-histo[:live] pidβ Hooks up to a running process and prints a histogram of the Java object heap. If thelivesuboption is specified, it then counts only live objects. π―-dump:dump_options pidβ Hooks up to a running process and dumps the Java heap. Thedump_optionsinclude:liveβ When specified, dumps only the live objects; if not specified, then dumps all objects in the heap. π§format=bβ Dumps the Java heap in hprof binary format. π§¬file=filenameβ Dumps the heap tofilename. Example:jmap -dump:live,format=b,file=heap.bin pidπΎ
made with π by your JDK 27.0.1.0.3 bestie, dated 2026, signing off as JMAP(1) β periodt β¨π
π¦ where this page comes from
- arch rolling: jdk-openjdk 27.0.1.0.3.u1-1 Β· LicenseRef-Java
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms