467,877 Members | 892 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,877 developers. It's quick & easy.

application id

sat
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.

Jul 27 '07 #1
  • viewed: 4065
Share:
2 Replies
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.

On Jul 27, 1:23 pm, sat <vijji.em...@gmail.comwrote:
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.

Jul 28 '07 #2
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 <vijji.em...@gmail.comwrote:
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.

Jul 30 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Michael Kalika | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.