public class AggregateProcessInfo extends ProcessInfo
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateProcessInfo.AggregateProcCpu |
class |
AggregateProcessInfo.AggregateProcFd |
class |
AggregateProcessInfo.AggregateProcMem |
class |
AggregateProcessInfo.AggregateProcTime
Aggregates
ProcTime data into a single object. |
ProcessInfo.ProcessInfoSnapshotbaseName, commandLine, environmentVariables, initialized, name, parentProcess, pid, procCpu, procCred, procCredName, procEnv, processDied, procExe, procFd, procMem, procState, procTime, sigar| Constructor and Description |
|---|
AggregateProcessInfo(long pid)
Creates an aggregate process info object that will aggregate data related to the process with the given pid and
all its child processes.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateProcessInfo.AggregateProcCpu |
getAggregateCpu() |
AggregateProcessInfo.AggregateProcFd |
getAggregateFileDescriptor() |
AggregateProcessInfo.AggregateProcMem |
getAggregateMemory() |
AggregateProcessInfo.AggregateProcTime |
getAggregateTime() |
void |
refresh()
Takes a fresh snapshot of non static properties of the underlying process.
|
String |
toString() |
destroy, equals, freshSnapshot, getAggregateProcessTree, getBaseName, getCommandLine, getCpu, getCredentials, getCredentialsName, getCurrentWorkingDirectory, getEnvironmentVariable, getEnvironmentVariables, getExecutable, getFileDescriptor, getMemory, getName, getParentPid, getParentProcess, getPid, getState, getTime, hashCode, isRunning, kill, priorSnaphotpublic AggregateProcessInfo(long pid)
pid - the parent pid whose data, along with its children process data, will be aggregatedpublic void refresh()
throws SystemInfoException
ProcessInforefresh in class ProcessInfoSystemInfoExceptionpublic AggregateProcessInfo.AggregateProcTime getAggregateTime()
public AggregateProcessInfo.AggregateProcMem getAggregateMemory()
public AggregateProcessInfo.AggregateProcCpu getAggregateCpu()
public AggregateProcessInfo.AggregateProcFd getAggregateFileDescriptor()
public String toString()
toString in class ProcessInfoCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.