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
SigarExceptionpublic java.lang.String getName()
Supported Platforms: FreeBSD, Linux, Solaris, Win32.
System equivalent commands:
ls -l /proc/$$/exepublic java.lang.String getCwd()
Supported Platforms: Linux, Solaris, Win32.
System equivalent commands:
ls -l /proc/$$/cwdpublic java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004-2011 Hyperic. All Rights Reserved.