org.cougaar.core.qos.profile
Class ProcLoadAvg
java.lang.Object
org.cougaar.util.GenericStateModelAdapter
org.cougaar.core.qos.profile.ProfilerBase
org.cougaar.core.qos.profile.ProcLoadAvg
- All Implemented Interfaces:
- org.cougaar.core.component.Component, ProfilerService.Client, org.cougaar.util.GenericStateModel
public class ProcLoadAvg
- extends ProfilerBase
This component profiles the CPU load from "/proc/loadavg".
Example output:
loadavg - #1_min_avg, 5_min_avg, 15_min_avg,
running, total, pid,
loadavg - 2.80, 2.81, 2.44,
4, 221, 1551,
- 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 |
ProcLoadAvg
public ProcLoadAvg()
run
public void run()
- Specified by:
run in interface ProfilerService.Client- Specified by:
run in class ProfilerBase