org.hyperic.sigar
Class ProcExe

java.lang.Object
  extended by org.hyperic.sigar.ProcExe
All Implemented Interfaces:
java.io.Serializable

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

ProcExe sigar class.

See Also:
Serialized Form

Constructor Summary
ProcExe()
           
 
Method Summary
 void gather(Sigar sigar, long pid)
           
 java.lang.String getCwd()
          Get the Name of process current working directory.
 java.lang.String getName()
          Get the Name of process executable.
 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

ProcExe

public ProcExe()
Method Detail

gather

public void gather(Sigar sigar,
                   long pid)
            throws SigarException
Throws:
SigarException

getName

public java.lang.String getName()
Get the Name of process executable.

Supported Platforms: FreeBSD, Linux, Solaris, Win32.

System equivalent commands:

Returns:
Name of process executable

getCwd

public java.lang.String getCwd()
Get the Name of process current working directory.

Supported Platforms: Linux, Solaris, Win32.

System equivalent commands:

Returns:
Name of process current working directory

toMap

public java.util.Map toMap()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2004-2009 Hyperic. All Rights Reserved.