Author |
Message
|
zico |
Posted: Wed Dec 14, 2005 10:59 pm Post subject: How to check the port in which queue manager is running |
|
|
Novice
Joined: 22 Jun 2005 Posts: 21
|
Hi,
I'm using MQ Series at Sun Solaris 5.9 platform. There are 6 queue managers which are running in the system.
How do i check the port of each queue manager in which they are running.
Is there any mq command to see the port. I can see the list of queue manager status using dspmq but cannot see their ports.
Any help would be appreciated. Thanks.
Zico. |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Dec 14, 2005 11:09 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
ps -ef | grep runmqlsr _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
zico |
Posted: Thu Dec 15, 2005 12:00 am Post subject: |
|
|
Novice
Joined: 22 Jun 2005 Posts: 21
|
ps -ef | grep runmqlsr
above command only shows the service of runmqlsr. It does not display individual queue manager port.
My query was how to check each queue manager's port in which they are running. In my system there are multiple queue manager is running.
Thanks for the understanding.
Zico. |
|
Back to top |
|
 |
gunter |
Posted: Thu Dec 15, 2005 1:43 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
If you are using runmqlsr to start channel, the port is in the commandline or it uses the default (1414). Maybe it's possible to change the default, but I don't know how to do it.
If you are using inetd.conf you have to read the /etc/inetd.conf and the /etc/services to figure it out.
Gunter _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
wschutz |
Posted: Thu Dec 15, 2005 2:33 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
And, if you're using MQ V6, you can:
Code: |
runmqsc
dis lsstatus(*) port status
13 : dis lsstatus(*) port status
AMQ8631: Display listener status details.
LISTENER(tcp1430) STATUS(RUNNING)
PORT(1430)
AMQ8631: Display listener status details.
LISTENER(SYSTEM.LISTENER.TCP.1) STATUS(RUNNING)
PORT(6708)
|
1430 is a 'LISTENER' object
6708 is from a 'runmqlsr' command ...
 _________________ -wayne |
|
Back to top |
|
 |
|