org.cougaar.core.qos.profile
Class JavaHeapSize
java.lang.Object
org.cougaar.util.GenericStateModelAdapter
org.cougaar.core.qos.profile.ProfilerBase
org.cougaar.core.qos.profile.JavaHeapSize
- All Implemented Interfaces:
- org.cougaar.core.component.Component, ProfilerService.Client, org.cougaar.util.GenericStateModel
public class JavaHeapSize
- extends ProfilerBase
This component profiles the JVM heap size (used, free, total,
max).
Example output:
jvmheap - #used_bytes, free_bytes, total_bytes, max_bytes
jvmheap - 5430096, 5084336, 10514432, 66650112
In this example, the current JVM heap size is 5.18 mb.
- See Also:
required coordinator component
| Fields inherited from interface org.cougaar.util.GenericStateModel |
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED |
|
Method Summary |
void |
run()
|
| Methods inherited from class org.cougaar.util.GenericStateModelAdapter |
getModelState, halt, initialize, resume, start, stop, suspend, transitState, unload |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.cougaar.util.GenericStateModel |
getModelState, halt, initialize, resume, start, stop, suspend, unload |
JavaHeapSize
public JavaHeapSize()
run
public void run()
- Specified by:
run in interface ProfilerService.Client- Specified by:
run in class ProfilerBase