OS Manuals

/usr/lib/jvm/java-11-zulu/bin/jmap

Zulu 11 Java development kit (CPU stream)

From zulu-11-cpu 11.0.31.0.101-r2 (enterprise-packages), captured 2026-11-08 by running jmap --help (exit 0). permalink

Also provided by 1 other package version
Usage:
    jmap -clstats <pid>
        to connect to running process and print class loader statistics
    jmap -finalizerinfo <pid>
        to connect to running process and print information on objects awaiting finalization
    jmap -histo[:live] <pid>
        to connect to running process and print histogram of java object heap
        if the "live" suboption is specified, only count live objects
    jmap -dump:<dump-options> <pid>
        to connect to running process and dump java heap
    jmap -? -h --help
        to print this help message

    dump-options:
      live         dump only live objects; if not specified,
                   all objects in the heap are dumped.
      format=b     binary format
      file=<file>  dump heap to <file>
      parallel=<number>  parallel threads number for heap iteration:
                         parallel=0 default behavior, use predefined number of threads
                         parallel=1 disable parallel heap iteration
                         parallel=<N> use N threads for parallel heap iteration

    Example: jmap -dump:live,format=b,file=heap.bin <pid>
Options (7)
OptionDescriptionSource
-finalizerinfoPrints information about objects that are awaiting finalization.man
-heapPrints a heap summary of the garbage collection used, the head configuration, and generation-wise heap usage.man
-clstatsPrints class loader wise statistics of Java heap.man
-FForce.man
-hPrints a help message.man
-helpPrints a help message.man
-JflagPasses flag to the Java Virtual Machine where the jmap command is running.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.