By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,334 Members | 1,266 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,334 IT Pros & Developers. It's quick & easy.

How to get port number of a db2 instance in AIX installation of DB2

P: 2
Hi guys,

I need help in getting the port number used by a db2 instance in AIX installation of DB2 8.0.1.
Is there any command to know this.

Request all of you to help me as this is very urgently required.

Manish Gandhi
Feb 22 '07 #1
Share this Question
Share on Google+
1 Reply

P: 10
Hi Manish,

Use the command db2 get dbm cfg

The SVCNAME gives you the service name or direct port number. If it is a service name then go to /etc/services on the system , there you can find port number corresponding to this service name.
Mar 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.