Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    62

    Unanswered: How do I get application PID ?

    Hello,

    I'm running db2 v8 on IBM AIX.
    How do I get client application PID ?

    For example if I issue "list applications show detail" I can see application handle and corresponding db2 agent PID - but I need client application process PID.

    thanks
    Vilius

  2. #2
    Join Date
    Jan 2003
    Posts
    1,605
    db2 get snapshot for applications on <db_name>
    then search for "Process ID of client application"

  3. #3
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    DB2 LUW has a function for that:
    Code:
    db2 values application_id()
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •