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. |