OS Manuals

/usr/lib/jvm/java-26-openjdk-openj9/bin/jmap

OpenJDK 26 with OpenJ9

From openjdk-26-openj9 0.61.0-r4 (enterprise-packages), captured 2026-11-08 by running jmap --help (exit 1). permalink

unrecognized option --help
jmap: obtain heap information about a Java process
 Usage:
    jmap <option>* <vmid>
        <vmid>: Attach API VM ID as shown in jps or other Attach API-based tools
        <vmid>s are read from stdin if none are supplied as arguments
    -histo: print statistics about classes on the heap, including number of objects and aggregate size
    -histo:live : Print only live objects
    -J: supply arguments to the Java VM running jmap
NOTE: this utility might significantly affect the performance of the target VM.
At least one option must be selected.

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