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
SigarException
public long getTotal()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public long getIdle()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public long getRunning()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public long getSleeping()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public long getStopped()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public long getZombie()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public long getThreads()
Supported Platforms: All.
System equivalent commands:
top, ps
top, ps
top, ps
top, ps
top, ps
top, ps
taskman
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.