jcmd
command is used to send diagnostic command requests to the JVM. 'jcmd' is
available as part of the java installation.
Jcmd: Thread.print: Get thread dumps
JFR: Java Flight Recorder
jcmd: Collect JFR (Java Flight Recorder) information
Java: jcmd: Print native memory usage
jcmd: Display status of commercial features
Jcmd: VM.unlock_commercial_features: unlock commercial features
Jcmd: ManagementAgent.stop, ManagementAgent.start_local and ManagementAgent.start example
jcmd: GC.heap_dump: Create heap dump
Generate GC (Garbage Collection) log file
Rotate GC Log files
Jcmd: GC.rotate_log: Rotate the log file
jcmd: GC.class_stats: Get statistics about Java class meta data
jcmd: Get the statistics about the Java heap usage
jcmd: GC.run_finalization: java.lang.System.runFinalization()
Call 'java.lang.System.runFinalization()' using jcmd command
jcmd : GC.run: Call garbage collector
jcmd: VM.uptime: Print VM up time
jcmd: VM.flags: Print VM flag options and their current values
jcmd: VM.system_properties: Print VM system properties
jcmd: VM.command_line: Get the command line used to start this VM instance
jcmd: VM.version: Print jvm version information
Open
command prompt (or) terminal and execute jcmd command. It display the list of
currently running java applications and their process ids.
In
my later posts, you are going to learn below things.
Jcmd: Thread.print: Get thread dumps
JFR: Java Flight Recorder
jcmd: Collect JFR (Java Flight Recorder) information
Java: jcmd: Print native memory usage
jcmd: Display status of commercial features
Jcmd: VM.unlock_commercial_features: unlock commercial features
Jcmd: ManagementAgent.stop, ManagementAgent.start_local and ManagementAgent.start example
jcmd: GC.heap_dump: Create heap dump
Generate GC (Garbage Collection) log file
Rotate GC Log files
Jcmd: GC.rotate_log: Rotate the log file
jcmd: GC.class_stats: Get statistics about Java class meta data
jcmd: Get the statistics about the Java heap usage
jcmd: GC.run_finalization: java.lang.System.runFinalization()
Call 'java.lang.System.runFinalization()' using jcmd command
jcmd : GC.run: Call garbage collector
jcmd: VM.uptime: Print VM up time
jcmd: VM.flags: Print VM flag options and their current values
jcmd: VM.system_properties: Print VM system properties
jcmd: VM.command_line: Get the command line used to start this VM instance
jcmd: VM.version: Print jvm version information
No comments:
Post a Comment