test/jdk/sun/tools/jstat/usage.out
author ysuenaga
Thu, 26 Apr 2018 09:45:47 +0900
changeset 49891 61b0342b5711
parent 48543 7067fe4e054e
permissions -rw-r--r--
8199519: Several GC tests fails with: java.lang.NumberFormatException: Unparseable number: "-" Reviewed-by: sjohanss, jgeorge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
     1
Usage: jstat --help|-options
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
       jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
Definitions:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
  <option>      An option reported by the -options option
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
  <vmid>        Virtual Machine Identifier. A vmid takes the following form:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
                     <lvmid>[@<hostname>[:<port>]]
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
                Where <lvmid> is the local vm identifier for the target
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
                Java virtual machine, typically a process id; <hostname> is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
                the name of the host running the target Java virtual machine;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
                and <port> is the port number for the rmiregistry on the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
                target host. See the jvmstat documentation for a more complete
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
                description of the Virtual Machine Identifier.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
  <lines>       Number of samples between header lines.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
  <interval>    Sampling interval. The following forms are allowed:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
                    <n>["ms"|"s"]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
                Where <n> is an integer and the suffix specifies the units as 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
                milliseconds("ms") or seconds("s"). The default units are "ms".
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
  <count>       Number of samples to take before terminating.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
  -J<flag>      Pass <flag> directly to the runtime system.
48543
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    21
  -? -h --help  Prints this help message.
7067fe4e054e 8189102: All tools should support -?, -h and --help
goetz
parents: 47216
diff changeset
    22
  -help         Prints this help message.