IBM Support

MustGather: Checking if the dbx utility is installed on AIX

Troubleshooting


Problem

The dbx debugger on AIX® allows the interrogation of core files and hung processes. This is important in order to be able to determine the point of failure, or to easily obtain the stack trace for any native code that was running.

Resolving The Problem

The instructions below describe how to tell if dbx is installed, and how to install the package if it is not present. These instructions apply to all versions of AIX 5.


Determining if dbx is installed:

Run the following command: lslpp -l | grep "bos.adt.debug"

If dbx is installed, output of the form of the following should be seen:

    bos.adt.debug 5.3.0.10 APPLIED Base Application Development
If no output is seen, dbx is not installed.

Installing dbx:



dbx is shipped with the AIX installation CDs and can be found on CD 1 for both AIX 5.2 and 5.3.
The installation of dbx can be carried out using smitty:
  1. Type the following at the command line:
    smitty easy_install
  2. Enter the name of the installation device or directory.
  3. From the selection screen, select the bos.adt.debug software bundle.
  4. Change the values provided in the Install Software Bundle screen as appropriate (for example, you may not want to COMMIT the bundle).
  5. Press Enter to continue. Press Enter a second time to confirm your decision and begin the installation of the bundle.
  6. Check the installation summary at the end of the installation output by scrolling to the end of the output. The output indicates whether the installation of the bundle was successful.

[{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Debugging Tools","Platform":[{"code":"PF002","label":"AIX"}],"Version":"7.1;7.0;6.1;6.0","Edition":"J2SE","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21222456