public class ProcExe
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ProcExe() |
Modifier and Type | Method and Description |
---|---|
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() |
public void gather(Sigar sigar, long pid) throws SigarException
SigarException
public java.lang.String getName()
Supported Platforms: FreeBSD, Linux, Solaris, Win32.
System equivalent commands:
ls -l /proc/$$/exe
public java.lang.String getCwd()
Supported Platforms: Linux, Solaris, Win32.
System equivalent commands:
ls -l /proc/$$/cwd
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.