|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.sigar.ProcStat
public class ProcStat
ProcStat sigar class.
| Constructor Summary | |
|---|---|
ProcStat()
|
|
| Method Summary | |
|---|---|
void |
gather(Sigar sigar)
|
long |
getIdle()
Get the Total number of processes in idle state. |
long |
getRunning()
Get the Total number of processes in run state. |
long |
getSleeping()
Get the Total number of processes in sleep state. |
long |
getStopped()
Get the Total number of processes in stop state. |
long |
getThreads()
Get the Total number of threads. |
long |
getTotal()
Get the Total number of processes. |
long |
getZombie()
Get the Total number of processes in zombie state. |
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 ProcStat()
| Method Detail |
|---|
public void gather(Sigar sigar)
throws SigarException
SigarExceptionpublic long getTotal()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getIdle()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getRunning()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getSleeping()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getStopped()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getZombie()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
public long getThreads()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskman
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 | ||||||||