Java Tools Tutorials - Herong's Tutorial Notes - Version 5.32, by Dr. Herong Yang
'jstat' Command Options and Parameters
This section describes JVM statistics monitoring tool 'jstat' command and its command options and parameters.
"jstat": A JVM statistics monitoring tool that displays performance statistics of a given JVM process with a specified sampling interval. "jstat" tool is distributed as part of the JDK package and represented by the \Progra~1\java\jdk*\bin\jstat.exe program file. "jstat" can be executed with the following syntax:
jstat [options] vmid interval [count]
Some "jstat" options are listed below:
See the next section on how to use "jstat" to collect statistic samples of a given JVM process.
Last update: 2015.
Table of Contents
'javac' - The Java Program Compiler
'java' - The Java Program Launcher
'jconsole' - Java Monitoring and Management Console
►'jstat' - JVM Statistics Monitoring Tool
'jps' - JVM Process Status Tool
Listing JVM Processes on the Local Machine with "jps"
'jstatd' - JVM Remote Monitoring Server
Starting 'jstatd' with a Security Policy File
Connecting to 'jps' to Remote 'jstatd'
►'jstat' Command Options and Parameters
Garbage Collection Testing Program
'jstat -gcutil' - Garbage Collection Statistics
Accessing Remote JVM Processes with 'jstat'
jvisualvm (Java VisualVM) - JVM Visual Tool
'javap' - The Java Class File Disassembler
'keytool' - Public Key Certificate Tool