If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Port trace for DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-11-03, 17:21
pgupta pgupta is offline
Registered User
 
Join Date: Dec 2003
Posts: 3
Question Port trace for DB2

Is there any easy way to figure out which ports DB2 is running on or else given a port number say 5000 can i tell whether a DB2 instance is using it?
Reply With Quote
  #2 (permalink)  
Old 12-12-03, 10:35
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Re: Port trace for DB2

Quote:
Originally posted by pgupta
Is there any easy way to figure out which ports DB2 is running on or else given a port number say 5000 can i tell whether a DB2 instance is using it?
Try
PHP Code:
grep -i db2 /etc/services 
Reply With Quote
  #3 (permalink)  
Old 12-12-03, 13:51
pgupta pgupta is offline
Registered User
 
Join Date: Dec 2003
Posts: 3
Re: Port trace for DB2

Quote:
Originally posted by n_i
Try
PHP Code:
grep -i db2 /etc/services 

I don not have login access to the machine and there want to do a port trace of the default db2 port and try to find if DB2 is running on the machine. I am looking for something similar to the tnsping utility in Oracle.

thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On