org.rhq.core.system
Class CpuInformation

java.lang.Object
  extended by org.rhq.core.system.CpuInformation

public class CpuInformation
extends Object

Provides native information on a specific CPU.


Constructor Summary
CpuInformation(int index, org.hyperic.sigar.SigarProxy sigar)
           
 
Method Summary
 org.hyperic.sigar.Cpu getCpu()
           
 int getCpuIndex()
           
 org.hyperic.sigar.CpuInfo getCpuInfo()
           
 org.hyperic.sigar.CpuPerc getCpuPercentage()
           
 boolean isEnabled()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CpuInformation

public CpuInformation(int index,
                      org.hyperic.sigar.SigarProxy sigar)
Method Detail

getCpuIndex

public int getCpuIndex()

getCpu

public org.hyperic.sigar.Cpu getCpu()

getCpuInfo

public org.hyperic.sigar.CpuInfo getCpuInfo()

getCpuPercentage

public org.hyperic.sigar.CpuPerc getCpuPercentage()

isEnabled

public boolean isEnabled()

refresh

public void refresh()


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.