kill a parallel job from datastage director

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

kill a parallel job from datastage director

Post by deepthi »

Hi

when a parallel job is running , it can have multiple instances, means multiple pids for one job.

How can we identify the pid's of the job and clear them from datastage director. Is there any other better way.

Thanks
Deepthi
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

ps -aeg | grep phamtom ---> will give the datastage background processes running

In director , you can use clean up resources
Nag
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

Post by deepthi »

Thank you for the reply,

How do we know that all these process belong to one single job?

Thanks
Deepthi

nagarjuna wrote:ps -aeg | grep phamtom ---> will give the datastage background processes running

In director , you can use clean up resources
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

ps -aef | grep jobname
Nag
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

There is also ENV variable to show PID ...APT_PM_SHOW_PIDS ( i am not sure about its name )
Nag
deepthi
Participant
Posts: 56
Joined: Thu Apr 28, 2005 9:52 am

Post by deepthi »

Thank you for the information
nagarjuna wrote:There is also ENV variable to show PID ...APT_PM_SHOW_PIDS ( i am not sure about its name )
Post Reply