public class ProcStat
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ProcStat() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public void gather(Sigar sigar) throws SigarException
SigarExceptionpublic long getTotal()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getIdle()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getRunning()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getSleeping()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getStopped()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getZombie()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getThreads()
Supported Platforms: All.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004-2011 Hyperic. All Rights Reserved.