|
RSE Release 3.3 |
|||||||||
| 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 java.util.HashMap |
_uidsByUserName
|
protected java.util.HashMap |
_usernamesByUid
|
| Constructor Summary | |
|---|---|
UniversalAIXProcessHandler()
Creates a new ProcessHandler for AIX platforms. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
convertToStateCode(java.lang.String state)
Return the unique state code assocated with the state given by the ps listing on the AIX machine. |
protected java.util.HashMap |
getPSOutput(java.lang.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,
java.lang.String type)
Sends a kill signal to a process. |
java.util.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 java.util.HashMap _usernamesByUid
protected java.util.HashMap _uidsByUserName
| Constructor Detail |
|---|
public UniversalAIXProcessHandler()
| Method Detail |
|---|
public java.util.SortedSet lookupProcesses(IHostProcessFilter rpfs)
throws java.lang.Exception
ProcessHandler
lookupProcesses in interface ProcessHandlerrpfs - The filter string to which the objects will be matched.
java.lang.Exceptionprotected java.util.HashMap getPSOutput(java.lang.String nextLine)
nextLine - a line of output from the ps command
public IHostProcess kill(IHostProcess process,
java.lang.String type)
throws java.lang.Exception
ProcessHandler
kill in interface ProcessHandlerprocess - The process to which the signal will be senttype - The type of signal to send to the process, "default" for default
java.lang.Exceptionprotected java.lang.String convertToStateCode(java.lang.String state)
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||