RSE
Release 1.0

org.eclipse.rse.services.clientserver.processes.handlers
Class UniversalZOSProcessHandler

java.lang.Object
  extended byorg.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
      extended byorg.eclipse.rse.services.clientserver.processes.handlers.UniversalZOSProcessHandler
All Implemented Interfaces:
ISystemProcessRemoteConstants, ProcessHandler

public class UniversalZOSProcessHandler
extends UniversalAIXProcessHandler


Field Summary
 
Fields inherited from class org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
_uidsByUserName, _usernamesByUid
 
Fields inherited from interface org.eclipse.rse.services.clientserver.processes.ISystemProcessRemoteConstants
ALL_STATES, ALL_STATES_STR, PROCESS_ATTRIBUTES_COUNT, PROCESS_ATTRIBUTES_INDEX_EXENAME, PROCESS_ATTRIBUTES_INDEX_GID, PROCESS_ATTRIBUTES_INDEX_PID, PROCESS_ATTRIBUTES_INDEX_PPID, PROCESS_ATTRIBUTES_INDEX_STATUS, PROCESS_ATTRIBUTES_INDEX_TGID, PROCESS_ATTRIBUTES_INDEX_TRACERPID, PROCESS_ATTRIBUTES_INDEX_UID, PROCESS_ATTRIBUTES_INDEX_USERNAME, PROCESS_ATTRIBUTES_INDEX_VMRSS, PROCESS_ATTRIBUTES_INDEX_VMSIZE, PROCESS_MINER_ERROR_NO_HANDLER, PROCESS_MINER_SUCCESS, PROCESS_SIGNAL_TYPE_DEFAULT, STATE_ACTIVE, STATE_ACTIVE_INDEX, STATE_ENDING_INDEX, STATE_IDLE, STATE_IDLE_INDEX, STATE_NONEXISTENT, STATE_NONEXISTENT_INDEX, STATE_PAGING, STATE_PAGING_INDEX, STATE_RUNNING, STATE_RUNNING_INDEX, STATE_SLEEPING, STATE_SLEEPING_INDEX, STATE_STARTING_INDEX, STATE_TRACED, STATE_TRACED_INDEX, STATE_WAITING, STATE_WAITING_INDEX, STATE_ZOMBIE, STATE_ZOMBIE_INDEX, STATE_ZOS_ASYNCHRONOUSTHREAD, STATE_ZOS_ASYNCHRONOUSTHREAD_INDEX, STATE_ZOS_CANCELLED, STATE_ZOS_CANCELLED_INDEX, STATE_ZOS_COMSYSKERNELWAIT, STATE_ZOS_COMSYSKERNELWAIT_INDEX, STATE_ZOS_DETACHED, STATE_ZOS_DETACHED_INDEX, STATE_ZOS_ENDING_INDEX, STATE_ZOS_FILESYSKERNELWAIT, STATE_ZOS_FILESYSKERNELWAIT_INDEX, STATE_ZOS_FORKING, STATE_ZOS_FORKING_INDEX, STATE_ZOS_INITIALPROCESSTHREAD, STATE_ZOS_INITIALPROCESSTHREAD_INDEX, STATE_ZOS_MEDIUMWEIGHTTHREAD, STATE_ZOS_MEDIUMWEIGHTTHREAD_INDEX, STATE_ZOS_MSGQRECEIVEWAIT, STATE_ZOS_MSGQRECEIVEWAIT_INDEX, STATE_ZOS_MSGQSENDWAIT, STATE_ZOS_MSGQSENDWAIT_INDEX, STATE_ZOS_MULTITHREAD, STATE_ZOS_MULTITHREAD_INDEX, STATE_ZOS_MVSPAUSEWAIT, STATE_ZOS_MVSPAUSEWAIT_INDEX, STATE_ZOS_MVSWAIT, STATE_ZOS_MVSWAIT_INDEX, STATE_ZOS_OTHERKERNELWAIT, STATE_ZOS_OTHERKERNELWAIT_INDEX, STATE_ZOS_PTHREADCREATED, STATE_ZOS_PTHREADCREATED_INDEX, STATE_ZOS_PTHREADCREATEDTASKS, STATE_ZOS_PTHREADCREATEDTASKS_INDEX, STATE_ZOS_PTRACEKERNELWAIT, STATE_ZOS_PTRACEKERNELWAIT_INDEX, STATE_ZOS_QUIESCEFROZEN, STATE_ZOS_QUIESCEFROZEN_INDEX, STATE_ZOS_RUNNING, STATE_ZOS_RUNNING_INDEX, STATE_ZOS_SEMAPHOREWAIT, STATE_ZOS_SEMAPHOREWAIT_INDEX, STATE_ZOS_SINGLE, STATE_ZOS_SINGLE_INDEX, STATE_ZOS_SLEEPING, STATE_ZOS_SLEEPING_INDEX, STATE_ZOS_STARTING_INDEX, STATE_ZOS_STOPPED, STATE_ZOS_STOPPED_INDEX, STATE_ZOS_SWAPPEDOUT, STATE_ZOS_SWAPPEDOUT_INDEX, STATE_ZOS_WAITINGFORCHILD, STATE_ZOS_WAITINGFORCHILD_INDEX, STATE_ZOS_ZOMBIE, STATE_ZOS_ZOMBIE_INDEX
 
Constructor Summary
UniversalZOSProcessHandler()
          Creates a new ProcessHandler for z/OS platforms.
 
Method Summary
protected  String convertToStateCode(String state)
          Return the unique state code assocated with the state given by the ps listing on the z/OS 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
 SortedSet lookupProcesses(HostProcessFilterImpl rpfs)
           
 
Methods inherited from class org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
kill, lookupProcesses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniversalZOSProcessHandler

public UniversalZOSProcessHandler()
Creates a new ProcessHandler for z/OS platforms.

Method Detail

lookupProcesses

public SortedSet lookupProcesses(HostProcessFilterImpl rpfs)
                          throws Exception
Throws:
Exception

getPSOutput

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

Overrides:
getPSOutput in class UniversalAIXProcessHandler
Parameters:
nextLine - a line of output from the ps command
Returns:
a map of names-values of process attributes

convertToStateCode

protected String convertToStateCode(String state)
Return the unique state code assocated with the state given by the ps listing on the z/OS machine.

Overrides:
convertToStateCode in class UniversalAIXProcessHandler

RSE
Release 1.0

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