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 MultiProcCpu

    java.lang.Object
      org.hyperic.sigar.ProcCpu
          org.hyperic.sigar.MultiProcCpu

All Implemented Interfaces:
  java.io.Serializable

    public class MultiProcCpu

extends ProcCpu

Provide multi process cpu metrics.

See Also:
  Serialized Form

Constructor Summary
`MultiProcCpu()`

Method Summary
`boolean` | `equals(java.lang.Object cpu)`
`double` | `getPercent()` Get the Process cpu usage.
`int` | `getProcesses()`
`int` | `hashCode()`

Methods inherited from class org.hyperic.sigar.ProcCpu
`gather, getLastTime, getStartTime, getSys, getTotal, getUser, toMap, toString`

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

Constructor Detail

### MultiProcCpu

    public MultiProcCpu()

Method Detail

### getPercent

    public double getPercent()

  Description copied from class: `ProcCpu`
  Get the Process cpu usage.

  Supported Platforms: All.

  Overrides:
    `getPercent` in class `ProcCpu`
  Returns:
    Processes CPU usage percentage.

### getProcesses

    public int getProcesses()

  Returns:
    Number of processes matched by query.

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`
  Returns:
    Pid of the process.

### equals

    public boolean equals(java.lang.Object cpu)

  Overrides:
    `equals` 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-2008 Hyperic. All Rights Reserved.