Page 1 of 1

how can i Kill/abort the job running more than ten minutes

Posted: Tue Dec 04, 2007 6:01 am
by dsisbank
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?

Posted: Tue Dec 04, 2007 6:05 am
by ray.wurlod
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.

Re: how can i Kill/abort the job running more than ten minut

Posted: Tue Feb 19, 2008 10:28 pm
by sri.cbv
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?
Hi ,
if u want to kill that perticular job ,u can use kill command in unix,first u find the processid

Posted: Tue Feb 19, 2008 11:06 pm
by ray.wurlod
And if you do, you deserve everything you get.

Re: how can i Kill/abort the job running more than ten minut

Posted: Tue Feb 19, 2008 11:50 pm
by srinivas143
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

Posted: Wed Feb 20, 2008 12:53 am
by ray.wurlod
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?
:roll: