|
|||||||||
| 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
SigarExceptionpublic long getUser()
Supported Platforms: All.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getSys()
Supported Platforms: All.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getNice()
Supported Platforms: Darwin, FreeBSD, HPUX, Linux.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getIdle()
Supported Platforms: All.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getWait()
Supported Platforms: AIX, Linux, HPUX, Solaris.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getIrq()
Supported Platforms: FreeBSD, Linux, HPUX, Win32.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getSoftIrq()
Supported Platforms: Linux.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getStolen()
Supported Platforms: Linux.
System equivalent commands:
toptoptoptoptoptoptaskman
public long getTotal()
Supported Platforms: All.
System equivalent commands:
toptoptoptoptoptoptaskman
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 | ||||||||