Kieker 1.3

kieker.monitoring.probe.sigar.samplers
Class CPUsDetailedPercSampler

java.lang.Object
  extended by kieker.monitoring.probe.sigar.samplers.AbstractSigarSampler
      extended by kieker.monitoring.probe.sigar.samplers.CPUsDetailedPercSampler
All Implemented Interfaces:
ISampler

public final class CPUsDetailedPercSampler
extends AbstractSigarSampler

Logs detailed utilization statistics for each CPU in the system, retrieved from CpuPerc, as CPUUtilizationRecords via WriterController#newMonitoringRecord(kieker.common.record.IMonitoringRecord) .

Author:
Andre van Hoorn

Constructor Summary
CPUsDetailedPercSampler(org.hyperic.sigar.SigarProxy sigar)
          Constructs a new AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data.
 
Method Summary
 void sample(IMonitoringController samplingController)
          Triggers this ISampler to perform a measurement and to pass the data to the given IMonitoringController.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPUsDetailedPercSampler

public CPUsDetailedPercSampler(org.hyperic.sigar.SigarProxy sigar)
Constructs a new AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data. Users should use the factory method SigarSamplerFactory#createSensorCPUsDetailedPerc() to acquire an instance rather than calling this constructor directly.

Parameters:
sigar -
Method Detail

sample

public void sample(IMonitoringController samplingController)
            throws Exception
Description copied from interface: ISampler
Triggers this ISampler to perform a measurement and to pass the data to the given IMonitoringController.

Throws:
Exception - thrown to indicate an error.

Kieker 1.3

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net