ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to display Port number ?

Post new topic  Reply to topic
 How to display Port number ? « View previous topic :: View next topic » 
Author Message
poulter90
PostPosted: Mon Dec 22, 2008 7:16 am    Post subject: How to display Port number ? Reply with quote

Apprentice

Joined: 31 Dec 2007
Posts: 36

Hi,

Environment is MQ v 6 on UNIX . Is there a quick command to display
port number of a particular Queue Manager name ?

Thanks
Back to top
View user's profile Send private message
poulter90
PostPosted: Mon Dec 22, 2008 7:26 am    Post subject: Reply with quote

Apprentice

Joined: 31 Dec 2007
Posts: 36

No need , found the command :

ps -fu mqm | grep "runmqlsr"
answer is :

/opt/mqm/bin/runmqlsr -r -m QMDEV -t TCP -p 1931
mqm 16078 16074 0 09:11:39 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMDBROKER -t TCP -p 1915
mqm 16176 16172 0 09:12:51 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMDCALYP -t TCP -p 1941
mqm 16383 16379 0 09:13:44 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMDEAI -t TCP -p 1942
mqm 16535 16531 0 09:14:30 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMDPITAGOR -t TCP -p 1936
mqm 16547 16543 0 09:14:46 ? 0:00 /opt/mqm/bin/runmqlsr -r -m QMDTIRET -t TCP -p 1937
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Dec 22, 2008 8:22 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Obvious question, as it's not explicit from your post...

Why not use a Listener object rather than run the command manually?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
zhanghz
PostPosted: Mon Dec 22, 2008 4:11 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jun 2008
Posts: 186

ya, better use listener object for MQ v6. The listener can be configured to start/stop automatically with the qmgr itself.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to display Port number ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.