Page 1 of 1

How to get process id of job

Posted: Fri Sep 14, 2007 2:07 am
by adasgupta123
Hi,

I want to kill all running jobs in a project.
But I am unable to login to datastage client,if any case I am able
to log in and trying to abort the job the server is not responding.

So I want to kill the jobs from operating system.
How can I get the process Ids of running jobs.

I want to go in following way:
issue the following commmand:
ps -ef | grep 'STRING' to get the pids
and then kill by kill -9.

So I want to know the STRING which I will use in grep command for
pattern matching.

Is there any way to kill jobs from Datastage Admin?

Thanks and Regards

Avik Dasgupta

Re: How to get process id of job

Posted: Fri Sep 14, 2007 2:28 am
by 4friends
from datastage director goto cleanup resources there u can get the procees ids for particular jobs.due to those ids u can kill the jobs.
adasgupta123 wrote:Hi,

I want to kill all running jobs in a project.
But I am unable to login to datastage client,if any case I am able
to log in and trying to abort the job the server is not responding.

So I want to kill the jobs from operating system.
How can I get the process Ids of running jobs.

I want to go in following way:
issue the following commmand:
ps -ef | grep 'STRING' to get the pids
and then kill by kill -9.

So I want to know the STRING which I will use in grep command for
pattern matching.

Is there any way to kill jobs from Datastage Admin?

Thanks and Regards

Avik Dasgupta

Re: How to get process id of job

Posted: Fri Sep 14, 2007 2:30 am
by adasgupta123
Hi,

But I am not able to login to Dastage Director.I want to get the process
id directly from operating systems

4friends wrote:from datastage director goto cleanup resources there u can get the procees ids for particular jobs.due to those ids u can kill the jobs.
adasgupta123 wrote:Hi,

I want to kill all running jobs in a project.
But I am unable to login to datastage client,if any case I am able
to log in and trying to abort the job the server is not responding.

So I want to kill the jobs from operating system.
How can I get the process Ids of running jobs.

I want to go in following way:
issue the following commmand:
ps -ef | grep 'STRING' to get the pids
and then kill by kill -9.

So I want to know the STRING which I will use in grep command for
pattern matching.

Is there any way to kill jobs from Datastage Admin?

Thanks and Regards

Avik Dasgupta

Posted: Fri Sep 14, 2007 3:37 am
by ray.wurlod
NEVER use kill -9 on a DataStage process!

Posted: Fri Sep 14, 2007 3:38 am
by ray.wurlod
Let's solve the problem of why you can't log in using Director.

What error message is emitted?