RSE
Release 1.0

org.eclipse.rse.services.clientserver.processes
Interface IHostProcessFilter

All Known Implementing Classes:
HostProcessFilterImpl

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)
           
 HashMap getStates()
           
 String getUsername()
          Return the username part of this filter string.
 boolean satisfiesState(String state)
           
 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)
           
 void setUsername(String obj)
          Set the user id (uid) part of this filter string.
 

Method Detail

getStates

public HashMap getStates()

getName

public String getName()
Return the process name part of this filter string.


getUsername

public String getUsername()
Return the username part of this filter string.


getGid

public String getGid()
Return the process group id (gid) part of this filter string.


getPpid

public String getPpid()
Return the process parent id (ppid) part of this filter string.


getPid

public String getPid()
Return the process id (pid) part of this filter string.


getAnyStatus

public boolean getAnyStatus()
Returns true when all process states are selected. The individal state queries will return false in this case.


getMinVM

public String getMinVM()
Returns the minimum VM size for processes allowed by this filter


getMaxVM

public String getMaxVM()
Returns the maximum VM size for processes allowed by this filter


setName

public void setName(String obj)
Set the name part of this filter string. This can be simple or generic, where generic is a name containing one or two asterisks anywhere in the name.


setUsername

public void setUsername(String obj)
Set the user id (uid) part of this filter string. This can be simple or generic, where generic is a uid containing one or two asterisks anywhere in the name.


setGid

public void setGid(String obj)
Set the process group id (gid) part of this filter string.


setPpid

public void setPpid(String obj)
Set the process parent id part of this filter string.


setPid

public void setPid(String obj)
Set the process id part of this filter string.


setAnyStatus

public void setAnyStatus()
Select all/any process states


setMinVM

public void setMinVM(String strMinVM)
Sets the minimum VM size for processes allowed by this filter


setMaxVM

public void setMaxVM(String strMaxVM)
Sets the maximum VM size for processes allowed by this filter


allows

public boolean allows(String status)
Returns whether this filter allows a process with the status line 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"


getSpecificState

public boolean getSpecificState(String stateCode)

setSpecificState

public void setSpecificState(String stateCode)

satisfiesState

public boolean satisfiesState(String state)

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.