-
application id
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.
-
Re: application id
Snapshot will give you that information.
db2 get snapshot for application agentid | grep -i
'process id'
The process id you get from the result is the pid.
On Jul 27, 1:23 pm, sat wrote:
> 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.
-
Re: application id
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
On Jul 27, 10:23 pm, sat wrote:
> 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.