Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.sigar
Class CpuPerc

    java.lang.Object
      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

Method Summary
`static CpuPerc` | `calculate(Cpu oldCpu, Cpu curCpu)` Deprecated.
`static java.lang.String` | `format(double val)`
`double` | `getCombined()`
`double` | `getIdle()`
`double` | `getIrq()`
`double` | `getNice()`
`double` | `getSoftIrq()`
`double` | `getStolen()`
`double` | `getSys()`
`double` | `getUser()`
`double` | `getWait()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### 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:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ? 2004-2009 Hyperic. All Rights Reserved.