org.hyperic.sigar
Class CpuPerc
java.lang.Object
   org.hyperic.sigar.CpuPerc
org.hyperic.sigar.CpuPerc
- All Implemented Interfaces: 
- java.io.Serializable
- public class CpuPerc 
- extends java.lang.Object- implements java.io.Serializable
CPU percentage usage
- See Also:
- Serialized Form
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
calculate
public static CpuPerc calculate(Cpu oldCpu,
                                Cpu curCpu)
- Deprecated. 
 
- 
 
- 
 
getUser
public double getUser()
- 
 
- 
 
getSys
public double getSys()
- 
 
- 
 
getNice
public double getNice()
- 
 
- 
 
getIdle
public double getIdle()
- 
 
- 
 
getWait
public double getWait()
- 
 
- 
 
getIrq
public double getIrq()
- 
 
- 
 
getSoftIrq
public double getSoftIrq()
- 
 
- 
 
getStolen
public double getStolen()
- 
 
- 
 
getCombined
public double getCombined()
- 
 
- 
- Returns:
- Sum of User + Sys + Nice + Wait
 
format
public static java.lang.String format(double val)
- 
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
Copyright ? 2004-2009 Hyperic. All Rights Reserved.