public class ProcCred
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ProcCred() |
| Modifier and Type | Method and Description |
|---|---|
void |
gather(Sigar sigar,
long pid) |
long |
getEgid()
Get the Process effective group id.
|
long |
getEuid()
Get the Process effective user id.
|
long |
getGid()
Get the Process group id.
|
long |
getUid()
Get the Process user id.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public void gather(Sigar sigar, long pid) throws SigarException
SigarExceptionpublic long getUid()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getGid()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getEuid()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic long getEgid()
Supported Platforms: AIX, Darwin, FreeBSD, HPUX, Linux, Solaris.
System equivalent commands:
top, pstop, pstop, pstop, pstop, pstop, pstaskmanpublic java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004-2011 Hyperic. All Rights Reserved.