|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHostProcessFilter
Method Summary | |
---|---|
boolean |
allows(String status)
Returns whether this filter allows a process with the status line status to pass through. |
boolean |
getAnyStatus()
Returns true when all process states are selected. |
String |
getGid()
Return the process group id (gid) part of this filter string. |
String |
getMaxVM()
Returns the maximum VM size for processes allowed by this filter |
String |
getMinVM()
Returns the minimum VM size for processes allowed by this filter |
String |
getName()
Return the process name part of this filter string. |
String |
getPid()
Return the process id (pid) part of this filter string. |
String |
getPpid()
Return the process parent id (ppid) part of this filter string. |
boolean |
getSpecificState(String stateCode)
Check whether this filter requires that the given state is set. |
String |
getUsername()
Return the username part of this filter string. |
boolean |
satisfiesState(String stateString)
Check whether a given process state String matches this filter. |
void |
setAnyStatus()
Select all/any process states |
void |
setGid(String obj)
Set the process group id (gid) part of this filter string. |
void |
setMaxVM(String strMaxVM)
Sets the maximum VM size for processes allowed by this filter |
void |
setMinVM(String strMinVM)
Sets the minimum VM size for processes allowed by this filter |
void |
setName(String obj)
Set the name part of this filter string. |
void |
setPid(String obj)
Set the process id part of this filter string. |
void |
setPpid(String obj)
Set the process parent id part of this filter string. |
void |
setSpecificState(String stateCode)
Change this filter such that it requires the given state to be set. |
void |
setUsername(String obj)
Set the user id (uid) part of this filter string. |
Method Detail |
---|
String getName()
String getUsername()
String getGid()
String getPpid()
String getPid()
boolean getAnyStatus()
String getMinVM()
String getMaxVM()
void setName(String obj)
void setUsername(String obj)
void setGid(String obj)
void setPpid(String obj)
void setPid(String obj)
void setAnyStatus()
void setMinVM(String strMinVM)
void setMaxVM(String strMaxVM)
boolean allows(String status)
status
to pass through. The status line contains some of the contents of
the status file contained in the processes numbered directory in
the /proc filesystem. For example, the status line of process 12345 is
the contents of the file /proc/12345/stat.
The status line must be structured as follows:
"pid|name|status|tgid|ppid|tracerpid|uid|username|gid|vmSize|vmRSS"
boolean getSpecificState(String stateCode)
stateCode
- state code to check. One of the String constants
in ISystemProcessRemoteConstants.ALL_STATES_STR
.void setSpecificState(String stateCode)
stateCode
- state code to check. One of the String constants
in ISystemProcessRemoteConstants.ALL_STATES_STR
.boolean satisfiesState(String stateString)
stateString
- A state String, holding a list of state constants
from ISystemProcessRemoteConstants.ALL_STATES_STR
,
separated by comma (",").
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |