Using the ps command

You can use the ps command to display a list of your processes that are currently running and obtain additional information about those processes. (Only a superuser or a user with appropriate permissions can obtain information about all processes.)

For example, here the ps command displays the status of started processes:
     PID TTY       TIME COMMAND
  262148 ttyp0000  2:46 /bin/sh
  196614 ttyp0000  0:22 ./myprog
   65543 ttyp0000  0:13 /bin/grep
  196616 ttyp0000  2:07 /bin/ps
PID
This is a PID displayed as a decimal value.
TTY
The name of the controlling terminal, if any. The controlling terminal is the workstation that started the process. On a system with more than one workstation, the names of the workstations that have started processes are listed here.
TIME
The amount of central processor time the process has used since it began running.
COMMAND
The name of the command or program that started the process. The display indicates which directory the command or program is found in. For example, the ps command is in /bin.

Usually, just issuing ps will tell you all you need to know about your current processes. However, there are a number of options you can use to tailor the displayed information. For example, you can use the –a option to display only processes associated with a terminal, not the system processes. Read the ps command description in z/OS UNIX System Services Command Reference.