application id

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sat

    #1

    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.

  • Visu

    #2
    Re: application id

    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...@gm ail.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.

    Comment

    • stefan.albert

      #3
      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 <vijji.em...@gm ail.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.

      Comment

      Working...