Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • db2ilist is working only if you are already connected to instance with instance user. It also displays only instances for Db2 version for current instance. If there are more then one Db2 products installed and/or I don't know the instance names, then "db2greg -dump" is correct answer. Commented Jul 22, 2022 at 12:17
  • db2ilist will list all instances under one product - if you have multiple products, then yes, you would need to use multiple commands, but output is much simpler than db2greg. [root@devserver ~]# [db2 install path]/bin/db2ilist db2inst1 db2inst2 db2inst3 Commented Aug 15, 2022 at 5:28