although some jobs seem running, actualy they don't run.I want to stop like these jobs automatically.
example
If the job runs more than ten minutes,the system kill/abort the sequence.
How can i do this?
how can i Kill/abort the job running more than ten minutes
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Don't even think about automating this until you have determined the reason that jobs might be running over time. It might be something serious that requires attention.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Re: how can i Kill/abort the job running more than ten minut
Hi ,dsisbank wrote:although some jobs seem running, actualy they don't run.I want to stop like these jobs automatically.
example
If the job runs more than ten minutes,the system kill/abort the sequence.
How can i do this?
if u want to kill that perticular job ,u can use kill command in unix,first u find the processid
SRINIVAS
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 30
- Joined: Tue Feb 19, 2008 11:02 pm
Re: how can i Kill/abort the job running more than ten minut
U can use the command (ps -ef | pm dtm) and execute the command in the unix box from there u can find the process id and use the processid to kill the job
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
A parallel job consists of LOTS of processes, not just one. There's a conductor, some section leaders, and quite a few player processes. Which one are you going to kill?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.