IBM Books

Quick Beginnings for DB2 Universal Database for UNIX


Listing Instances

To get a list of all the instances that are available on a system, enter the db2ilist command. The db2ilist command is located in:

   DB2DIR/bin/db2ilist


where DB2DIR = /usr/lpp/db2_05_00 on AIX


= /opt/IBMdb2/V5.0 HP-UX, SCO UnixWare 7, Solaris, or SGI IRIX


= /usr/IBMdb2/V2.1 on SCO OpenServer


= /opt/IBMdb2/V2.1 on SINIX

To determine which instance applies in the current session, enter:

   db2 get instance
Note:If you have changed to another instance, run the db2 terminate command before checking the instance.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]