org.hyperic.sigar
Class ProcStat

java.lang.Object
  extended byorg.hyperic.sigar.ProcStat
All Implemented Interfaces:
java.io.Serializable

public class ProcStat
extends java.lang.Object
implements java.io.Serializable

ProcStat sigar class.

See Also:
Serialized Form

Constructor Summary
ProcStat()
           
 
Method Summary
 void gather(Sigar sigar)
           
 long getTotal()
          Get the Total number of processes.
 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

ProcStat

public ProcStat()
Method Detail

gather

public void gather(Sigar sigar)
            throws SigarException
Throws:
SigarException

getTotal

public long getTotal()
Get the Total number of processes.

Supported Platforms: All.

System equivalent commands:

Returns:
Total number of processes

toMap

public java.util.Map toMap()

toString

public java.lang.String toString()


Copyright © 2004-2006 Hyperic. All Rights Reserved.