5.3.5 Stopping Jobs

It may be necessary to stop one or more job processes when dispatcher errors, job errors, or some other event make it impossible or impractical to continue processing. In addition to stopping the processes, administrative intervention may be necessary to resolve the cause of the errors.

To stop a job, you must stop its associated MANTAS process. To obtain the process IDs of active jobs and mantas processes, follow these steps:
  1. Type ps -efw | grep mantas and press Enter at the system prompt.
    The MANTAS processes that are running appear on the computer screen as shown in the following example:
    00000306 7800 1843 0 Jul 16 ttyiQ/iAQM 0:00
    /kdd_data1/kdd/server/bin/mantas -j 123
    The MANTAS process ID number appears in the first display line in the second column from the left (7800). The job ID number appears in the second display line in the last column (-j 123).
  2. Find the job and MANTAS process ID that you want to stop.
  3. Type kill <mantas process ID> at the system prompt and press Enter.
    This command stops the MANTAS process ID, which also stops its associated job.