|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hyperic.sigar.Cpu
Cpu sigar class.
| Constructor Summary | |
Cpu()
|
|
| Method Summary | |
void |
gather(Sigar sigar)
|
long |
getIdle()
Get the Total system cpu idle time. |
long |
getNice()
Get the Total system cpu nice 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 getTotal()
Supported Platforms: All.
System equivalent commands:
toptoptoptoptoptoptaskman
public java.util.Map toMap()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||