Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / July 2007

Tip: Looking for answers? Try searching our database.

application id

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sat - 27 Jul 2007 21:23 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.