OS Manuals

/usr/lib/jvm/java-1.8-amazon-corretto/bin/jstat

Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8

From corretto-8 8.512.09.1-r1 (enterprise-packages), captured 2026-11-08 by running jstat --help (exit 1). permalink

invalid argument count
Usage: jstat -help|-options
       jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]

Definitions:
  <option>      An option reported by the -options option
  <vmid>        Virtual Machine Identifier. A vmid takes the following form:
                     <lvmid>[@<hostname>[:<port>]]
                Where <lvmid> is the local vm identifier for the target
                Java virtual machine, typically a process id; <hostname> is
                the name of the host running the target Java virtual machine;
                and <port> is the port number for the rmiregistry on the
                target host. See the jvmstat documentation for a more complete
                description of the Virtual Machine Identifier.
  <lines>       Number of samples between header lines.
  <interval>    Sampling interval. The following forms are allowed:
                    <n>["ms"|"s"]
                Where <n> is an integer and the suffix specifies the units as
                milliseconds("ms") or seconds("s"). The default units are "ms".
  <count>       Number of samples to take before terminating.
  -J<flag>      Pass <flag> directly to the runtime system.
Options (19)
OptionDescriptionSource
-J flagPass <flag> directly to the runtime system.help
-helpDisplays a help message. (in the manual page but not in --help)man
-optionsDisplays a list of static options. (in the manual page but not in --help)man
-statOptionDetermines the statistics information the jstat command displays. (in the manual page but not in --help)man
-h nDisplays a column header every n samples (output rows), where n is a positive integer. (in the manual page but not in --help)man
-tDisplays a timestamp column as the first column of output. (in the manual page but not in --help)man
-JjavaOptionPasses javaOption to the Java application launcher. (in the manual page but not in --help)man
-class optionClass loader statistics. (in the manual page but not in --help)man
-compiler optionJava HotSpot VM Just-in-Time compiler statistics. (in the manual page but not in --help)man
-gc optionGarbage-collected heap statistics. (in the manual page but not in --help)man
-gccapacity optionMemory pool generation and space capacities. (in the manual page but not in --help)man
-gccause optionThis option displays the same summary of garbage collection statistics as the -gcutil option, but includes the causes of the last garbage collection event and (when applicable) the current garbage… (in the manual page but not in --help)man
-gcnew optionNew generation statistics. (in the manual page but not in --help)man
-gcnewcapacity optionNew generation space size statistics. (in the manual page but not in --help)man
-gcold optionOld generation and metaspace behavior statistics. (in the manual page but not in --help)man
-gcoldcapacity optionOld generation size statistics. (in the manual page but not in --help)man
-gcmetacapacity optionMetaspace size statistics. (in the manual page but not in --help)man
-gcutil optionSummary of garbage collection statistics. (in the manual page but not in --help)man
-printcompilation optionJava HotSpot VM compiler method statistics. (in the manual page but not in --help)man
Examples (4) from the manual page, untested

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