Page 1 of 1

Job Information

Posted: Fri Oct 29, 2010 4:04 am
by ashish10mca
Hi,

I have following information when enter the command ps -ef|grep 324156(pid)..

/dshome/Ascential/DataStage/PXEngine/bin/osh -APT_PMsectionLeaderFlag CNDAIRPZAPZP02 10006 2 30 node3 CNDAIRPZAPZP02 1288344539.685346.43401c

My question is how can i know which job is giving above information..??

Thanks..;)

Posted: Fri Oct 29, 2010 6:47 am
by ArndW
the "ps" information for that process also shows the parent process id, grep for that id and you will (eventually) find a process with a recognizable job name or job number, which can be used to find the job name.

To ArndW

Posted: Tue Nov 09, 2010 3:16 am
by ashish10mca
Hi Arndw,

Thanks for ur reply. I did that as per ur sugeestion and the below O/P i got.

dsadm 258216 4714516 0 14:48:09 - 0:00 /dshome/Ascential/DataStage/PXEngine.751.1/bin/osh -APT_PMsectionLeaderFlag CNDAIRPZAPZP02 10003 0 30 node1 CNDAIRPZAPZP02 1289294287.217519.4351e0
dsadm 1290368 4714516 0 14:48:09 - 0:00 /dshome/Ascential/DataStage/PXEngine.751.1/bin/osh -APT_PMsectionLeaderFlag CNDAIRPZAPZP02 10003 0 30 node1 CNDAIRPZAPZP02 1289294287.217519.4351e0
dsadm 1474802 4714516 0 14:48:09 - 0:00 /dshome/Ascential/DataStage/PXEngine.751.1/bin/osh -APT_PMsectionLeaderFlag CNDAIRPZAPZP02 10003 0 30 node1 CNDAIRPZAPZP02 1289294287.217519.4351e0
dsadm 2011150 4714516 0 14:48:09 - 0:00 /dshome/Ascential/DataStage/PXEngine.751.1/bin/osh -APT_PMsectionLeaderFlag CNDAIRPZAPZP02 10003 0 30 node1 CNDAIRPZAPZP02 1289294287.217519.4351e0
dsadm 2396356 4714516 12 14:48:09 - 0:19 /dshome/Ascential/DataStage/PXEngine.751.1/bin/osh -APT_PMsectionLeaderFlag CNDAIRPZAPZP02 10003 0 30 node1 CNDAIRPZAPZP02 1289294287.217519.4351e0


The O/P is not giving any Job Name or Job Number.Please suggest. javascript:emoticon(':roll:')


ArndW wrote:the "ps" information for that process also shows the parent process id, grep for that id and you will (eventually) find a process with a recognizable job name or job number, which can be used to find ...
:roll:

Posted: Tue Nov 09, 2010 3:55 am
by ArndW
Did you do this a month ago when you originally posted the question or is this a recent output? From this output I would look at process 4714516.

Posted: Tue Nov 09, 2010 4:10 am
by ray.wurlod
No osh process with the -APT_PMsectionLeaderFlag option is a job; it is a section leader in a parallel job.

Posted: Tue Nov 09, 2010 4:38 am
by ashish10mca
Ya.. Arndw.. i did this just today...4714516 is the parent id and i am not able to file the Job Name or Job Number against 414516.

Thanks..
ArndW wrote:Did you do this a month ago when you originally posted the question or is this a recent output? From this output I would look at process 4714516. ...
:)

Posted: Tue Nov 09, 2010 5:59 am
by ray.wurlod
What does the ps report for the parent process show?

What does the ps report for its parent process show?

Continue up the ladder of parent processes until you get to the init process (process ID = 1).

It would help if your particular UNIX had a ptree command.

Posted: Tue Nov 09, 2010 7:12 am
by swapnilverma
use ptree command