|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
public class UniversalAIXProcessHandler
Field Summary | |
---|---|
protected HashMap |
_uidsByUserName
|
protected HashMap |
_usernamesByUid
|
Constructor Summary | |
---|---|
UniversalAIXProcessHandler()
Creates a new ProcessHandler for AIX platforms. |
Method Summary | |
---|---|
protected String |
convertToStateCode(String state)
Return the unique state code assocated with the state given by the ps listing on the AIX machine. |
protected HashMap |
getPSOutput(String nextLine)
Parses one line of output from the ps command - placing the contents into a hashmap, where the keys are the names of process attributes and the values are the attribute values |
IHostProcess |
kill(IHostProcess process,
String type)
Sends a kill signal to a process. |
SortedSet |
lookupProcesses(IHostProcessFilter rpfs)
Given a filter string, returns the results of querying all processes that match the filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected HashMap _usernamesByUid
protected HashMap _uidsByUserName
Constructor Detail |
---|
public UniversalAIXProcessHandler()
Method Detail |
---|
public SortedSet lookupProcesses(IHostProcessFilter rpfs) throws Exception
ProcessHandler
lookupProcesses
in interface ProcessHandler
rpfs
- The filter string to which the objects will be matched.
Exception
protected HashMap getPSOutput(String nextLine)
nextLine
- a line of output from the ps command
public IHostProcess kill(IHostProcess process, String type) throws Exception
ProcessHandler
kill
in interface ProcessHandler
process
- The process to which the signal will be senttype
- The type of signal to send to the process, "default" for default
Exception
protected String convertToStateCode(String state)
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |