|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.monitoring.sampler.sigar.samplers.AbstractSigarSampler kieker.monitoring.sampler.sigar.samplers.CPUsCombinedPercSampler
public class CPUsCombinedPercSampler
Logs the combined (i.e., User + Sys + Nice + Wait) cpu utilization for each
CPU in the system, retrieved via CpuPerc.getCombined()
, as ResourceUtilizationRecord
s via
IWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.
Field Summary |
---|
Fields inherited from class kieker.monitoring.sampler.sigar.samplers.AbstractSigarSampler |
---|
sigar |
Constructor Summary | |
---|---|
CPUsCombinedPercSampler(org.hyperic.sigar.SigarProxy sigar)
Constructs a new AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data. |
Method Summary | |
---|---|
void |
sample(IMonitoringController monitoringController)
Triggers this ISampler to perform a measurement and to pass the data to the given IMonitoringController . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CPUsCombinedPercSampler(org.hyperic.sigar.SigarProxy sigar)
AbstractSigarSampler
with given SigarProxy
instance used to retrieve the sensor data. Users
should use the factory method SigarSamplerFactory.createSensorCPUsCombinedPerc()
to acquire an
instance rather than calling this constructor directly.
sigar
- The sigar proxy which will be used to retrieve the data.Method Detail |
---|
public void sample(IMonitoringController monitoringController) throws org.hyperic.sigar.SigarException
ISampler
to perform a measurement and to pass the data to the given IMonitoringController
.
monitoringController
- The controller to which the sampler should pass the data.
org.hyperic.sigar.SigarException
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |