public interface ServerActivitySnapshot
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXECUTABLE_NAME
The name of the executable that started the process
|
static java.lang.String |
IS_ADMINISTERED
A flag indicating if this process is descended from the server
being administered (1=TRUE, 0=FALSE)
|
static java.lang.String |
MEMORY_USAGE_K
Virtual memory usage of the process in KBytes
|
static java.lang.String |
PARENT_PROCESS_ID
Parent process ID is the ID of the parent of each process
|
static java.lang.String |
PERCENTAGE_CPU
Percentage CPU Usage indicates how much processor time the process
recently consumed (as a percentage of overall processor time)
|
static java.lang.String |
USER_NAME
The name of the user running this process
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
getProcessAttributes()
Returns the set of process attributes.
|
java.util.Set |
getProcessIdentifiers()
Returns the set of process identifiers.
|
java.util.Map |
getProcessInformation(java.lang.String processIdentifier)
Returns an attribute name->value mapping for a given process identifier.
|
void |
refresh()
Reload new up-to-date monitoring information
|
static final java.lang.String PARENT_PROCESS_ID
static final java.lang.String USER_NAME
static final java.lang.String MEMORY_USAGE_K
static final java.lang.String EXECUTABLE_NAME
static final java.lang.String IS_ADMINISTERED
static final java.lang.String PERCENTAGE_CPU
java.util.Set getProcessIdentifiers()
String
.java.util.Set getProcessAttributes()
String
.java.util.Map getProcessInformation(java.lang.String processIdentifier) throws ServerAdministrationException
processIdentifier
- ServerAdministrationException
- if process identifier does not match known onesvoid refresh() throws ServerConnectionException
ServerConnectionException
- if connection to server fails during refresh(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.