Statement - Java VM Diagnostic command
Environment - AEM 6.3 GA
Solution :
- Go to the Felix console URL: http://localhost:4502/system/console/jmx/com.sun.management%3Atype%3DDiagnosticCommand
- Below are the list operations
Operations
Return
Type
Name
java.lang.String
gcClassHistogram([Ljava.lang.String; arguments)
Provide statistics about the Java heap usage.
java.lang.String
gcClassStats([Ljava.lang.String; arguments)
Provide statistics about Java class meta data. Requires
-XX:+UnlockDiagnosticVMOptions.
java.lang.String
gcRotateLog()
Force the GC log file to be rotated.
java.lang.String
gcRun()
Call java.lang.System.gc().
java.lang.String
gcRunFinalization()
Call java.lang.System.runFinalization().
java.lang.String
help([Ljava.lang.String; arguments)
For more information about a specific command use 'help
'. With no argument this will show a list of available
commands. 'help all' will show help for all commands.
java.lang.String
jfrCheck([Ljava.lang.String; arguments)
Checks running JFR recording(s)
java.lang.String
jfrDump([Ljava.lang.String; arguments)
Copies contents of a JFR recording to file. Either the name or
the recording id must be specified.
java.lang.String
jfrStart([Ljava.lang.String; arguments)
Starts a new JFR recording
java.lang.String
jfrStop([Ljava.lang.String; arguments)
Stops a JFR recording
java.lang.String
threadPrint([Ljava.lang.String; arguments)
Print all threads with stacktraces.
java.lang.String
vmCheckCommercialFeatures()
Display status of commercial features
java.lang.String
vmCommandLine()
Print the command line used to start this VM instance.
java.lang.String
vmFlags([Ljava.lang.String; arguments)
Print VM flag options and their current values.
java.lang.String
vmNativeMemory([Ljava.lang.String; arguments)
Print native memory usage
java.lang.String
vmSystemProperties()
Print system properties.
java.lang.String
vmUnlockCommercialFeatures()
Unlock commercial features
java.lang.String
vmUptime([Ljava.lang.String; arguments)
Print VM uptime.
java.lang.String
vmVersion()
Print JVM version information.
Environment - AEM 6.3 GA
Solution :
Operations
|
|
Return
Type
|
Name
|
java.lang.String
|
gcClassHistogram([Ljava.lang.String; arguments)
Provide statistics about the Java heap usage.
|
java.lang.String
|
gcClassStats([Ljava.lang.String; arguments)
Provide statistics about Java class meta data. Requires
-XX:+UnlockDiagnosticVMOptions.
|
java.lang.String
|
gcRotateLog()
Force the GC log file to be rotated.
|
java.lang.String
|
gcRun()
Call java.lang.System.gc().
|
java.lang.String
|
gcRunFinalization()
Call java.lang.System.runFinalization().
|
java.lang.String
|
help([Ljava.lang.String; arguments)
For more information about a specific command use 'help
|
java.lang.String
|
jfrCheck([Ljava.lang.String; arguments)
Checks running JFR recording(s)
|
java.lang.String
|
jfrDump([Ljava.lang.String; arguments)
Copies contents of a JFR recording to file. Either the name or
the recording id must be specified.
|
java.lang.String
|
jfrStart([Ljava.lang.String; arguments)
Starts a new JFR recording
|
java.lang.String
|
jfrStop([Ljava.lang.String; arguments)
Stops a JFR recording
|
java.lang.String
|
threadPrint([Ljava.lang.String; arguments)
Print all threads with stacktraces.
|
java.lang.String
|
vmCheckCommercialFeatures()
Display status of commercial features
|
java.lang.String
|
vmCommandLine()
Print the command line used to start this VM instance.
|
java.lang.String
|
vmFlags([Ljava.lang.String; arguments)
Print VM flag options and their current values.
|
java.lang.String
|
vmNativeMemory([Ljava.lang.String; arguments)
Print native memory usage
|
java.lang.String
|
vmSystemProperties()
Print system properties.
|
java.lang.String
|
vmUnlockCommercialFeatures()
Unlock commercial features
|
java.lang.String
|
vmUptime([Ljava.lang.String; arguments)
Print VM uptime.
|
java.lang.String
|
vmVersion()
Print JVM version information.
|
No comments:
Post a Comment