Author |
Message
|
paatchu |
Posted: Wed Feb 07, 2007 5:06 am Post subject: Display the PORT assigned for a CHANNEL.? |
|
|
Apprentice
Joined: 07 Sep 2006 Posts: 32
|
Hi All,
Is there any way to display the PORT assigned to a particular CHANNEL.?
dis chl(CHL_NAME) won't display the PORT.!!
Currently i have to issue C:\> netstat -an for checking a free Port
Is there any way to achieve it thru MQ Commands (including runmqsc).?
ThanX in Adv. _________________ Poetry with Programming |
|
Back to top |
|
 |
pathipati |
Posted: Wed Feb 07, 2007 6:15 am Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
can you please post your dis(chl) results here... |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 07, 2007 6:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
channels don't have ports.
They do have localaddrs.
Listeners have ports.
In version 6, you can use "display listener" to find out the port for the listener.
In other versions, there have been a thousand instances of people asking "how do I find the port for a listener". Happy Searching! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 07, 2007 12:35 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
paatchu |
Posted: Wed Feb 07, 2007 11:14 pm Post subject: |
|
|
Apprentice
Joined: 07 Sep 2006 Posts: 32
|
Thanks all for providing me useful informations.. _________________ Poetry with Programming |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Feb 09, 2007 8:48 am Post subject: |
|
|
Guest
|
Try the DISPLAY LISTENER mqsc command. Alternatively, use the NETSTAT command. |
|
Back to top |
|
 |
mvarghese |
Posted: Wed Feb 21, 2007 5:51 am Post subject: |
|
|
Centurion
Joined: 27 Sep 2006 Posts: 141
|
Another way is
ps -ef | grep runmqlsr if its in unix _________________ Jain Varghese |
|
Back to top |
|
 |
paatchu |
Posted: Wed Mar 14, 2007 10:28 pm Post subject: *Resolved* |
|
|
Apprentice
Joined: 07 Sep 2006 Posts: 32
|
Thanks Varghese.
1) 'grep' technique is really useful.
2) dis listener(*) also works inside runmqsc.
But, it only works on MQ v6.0 NOT in MQ v5.3
[/b] _________________ Poetry with Programming |
|
Back to top |
|
 |
|