org.cougaar.core.qos.profile
Class ProcLoadAvg

java.lang.Object
  extended by org.cougaar.util.GenericStateModelAdapter
      extended by org.cougaar.core.qos.profile.ProfilerBase
          extended by 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

Field Summary
 
Fields inherited from class org.cougaar.core.qos.profile.ProfilerBase
align, header, sb
 
Fields inherited from interface org.cougaar.util.GenericStateModel
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED
 
Constructor Summary
ProcLoadAvg()
           
 
Method Summary
 void run()
           
 
Methods inherited from class org.cougaar.core.qos.profile.ProfilerBase
findServiceLater, getRunCount, load, log, setServiceBroker, toHeader
 
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
 

Constructor Detail

ProcLoadAvg

public ProcLoadAvg()
Method Detail

run

public void run()
Specified by:
run in interface ProfilerService.Client
Specified by:
run in class ProfilerBase