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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • immonty
    New Member
    • Feb 2007
    • 2

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

    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.

    Thanks
    Manish Gandhi
  • ramesh jampala
    New Member
    • Mar 2007
    • 10

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

    Comment

    Working...