Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    119

    Unanswered: Easier viewing of db2pd commands

    I have Express C installed on windows 7. I am just looking at some of the system commands such as: db2pd.

    For example, you can get some information on your locks by doing:

    >db2pd -db yourDB -locks show details

    However the returned format is difficult to read. Is there a switch or something I can do to make it easier to read.

    Thanks.

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    dynamic/admin views can be used for tabular output
    see : Snapshot monitor SQL Administrative Views
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,369
    Or try redirecting the output from db2pd to a file and then open it using notepad.

  4. #4
    Join Date
    Oct 2004
    Location
    DELHI INDIA
    Posts
    338
    Express -C comes with a GUI tool called activity monitor for similar problem diagnostics.

    Jayanta Datta
    DB2 UDB DBA
    IBM India, Global Delivery
    New Delhi

Posting Permissions

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