|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.Cpu
public class Cpu
Cpu sigar class.
Constructor Summary | |
---|---|
Cpu()
|
Method Summary | |
---|---|
void |
gather(Sigar sigar)
|
long |
getIdle()
Get the Total system cpu idle time. |
long |
getIrq()
Get the Total system cpu time servicing interrupts. |
long |
getNice()
Get the Total system cpu nice time. |
long |
getSoftIrq()
Get the Total system cpu time servicing softirqs. |
long |
getStolen()
Get the Total system cpu involuntary wait time. |
long |
getSys()
Get the Total system cpu kernel time. |
long |
getTotal()
Get the Total system cpu time. |
long |
getUser()
Get the Total system cpu user time. |
long |
getWait()
Get the Total system cpu io wait time. |
java.util.Map |
toMap()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cpu()
Method Detail |
---|
public void gather(Sigar sigar) throws SigarException
SigarException
public long getUser()
Supported Platforms: All.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getSys()
Supported Platforms: All.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getNice()
Supported Platforms: Darwin, FreeBSD, HPUX, Linux.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getIdle()
Supported Platforms: All.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getWait()
Supported Platforms: AIX, Linux, HPUX, Solaris.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getIrq()
Supported Platforms: FreeBSD, Linux, HPUX, Win32.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getSoftIrq()
Supported Platforms: Linux.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getStolen()
Supported Platforms: Linux.
System equivalent commands:
top
top
top
top
top
top
taskman
public long getTotal()
Supported Platforms: All.
System equivalent commands:
top
top
top
top
top
top
taskman
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |