Hi All,
Actually i was facing a very strange problem...
Can anyone let me know how can we compare the ids which i get from
"ps" and from "db2 list applications"...
Help me out regarding this...
Thanks in Advance,
Sat.
Visu - 28 Jul 2007 02:28 GMT
Snapshot will give you that information.
db2 get snapshot for application agentid <appl_handle> | grep -i
'process id'
The process id you get from the result is the pid.
> Hi All,
>
[quoted text clipped - 7 lines]
> Thanks in Advance,
> Sat.
stefan.albert - 30 Jul 2007 12:13 GMT
You can also use "db2pd -agents" to get the link from application
handle to PID of the processes.
It should be cheaper (and faster)
If you use DPF just add "-alldbpart"
What you don't get with db2pd is the link of the subsection to the PID
> Hi All,
>
[quoted text clipped - 7 lines]
> Thanks in Advance,
> Sat.