|
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.UniversalLinuxProcessHandler
public class UniversalLinuxProcessHandler
Field Summary | |
---|---|
protected HashMap |
_uidsByUserName
|
protected HashMap |
_usernamesByUid
|
Constructor Summary | |
---|---|
UniversalLinuxProcessHandler()
Creates a new ProcessHandler for Linux platforms. |
Method Summary | |
---|---|
protected String |
convertToStateCode(String state)
Return the unique state code assocated with the state given by the status file on the Linux machine. |
String |
getUid(String username)
Gets the uid associated with the given username on this system |
String |
getUsername(String uid)
Gets the username associated with the given uid on this system |
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 UniversalLinuxProcessHandler()
Method Detail |
---|
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
public SortedSet lookupProcesses(IHostProcessFilter rpfs) throws Exception
ProcessHandler
lookupProcesses
in interface ProcessHandler
rpfs
- The filter string to which the objects will be matched.
Exception
public String getUid(String username)
public String getUsername(String uid)
protected String convertToStateCode(String state)
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |