Kbase P25506: How to identify which batch program you want to kill if you
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Unverified
GOAL:
How to identify which batch program you want to kill if you have more than one program running.
SYMPTOM(s):
using -b -p to start two batch programs
FIX:
Out put a ps ·l to a file
Wright a script to go through this file and identify the tty of where the program you want to terminate.
Grab the PID from the first column of this line
Stored it on a variable
Issue a kill with this variable value.