Package org.oddjob.util
Class ManagementDiagnostics
java.lang.Object
org.oddjob.util.ManagementDiagnostics
- All Implemented Interfaces:
Runnable
Some useful diagnostics. This can be dropped into an
Oddjob configuration and run.
- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for heapMemory.Getter for jvmName.Getter for nonHeapMemory.Getter for startTime.voidrun()
-
Constructor Details
-
ManagementDiagnostics
public ManagementDiagnostics()
-
-
Method Details
-
run
public void run() -
getJvmName
Getter for jvmName.- Returns:
- the JVM name.
-
getStartTime
Getter for startTime.- Returns:
- The JVM start time.
-
getHeapMemory
Getter for heapMemory.- Returns:
- Description of heap memory usage.
-
getNonHeapMemory
Getter for nonHeapMemory.- Returns:
- Description of non heap memory usage.
-