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 check listener

Post new topic  Reply to topic
 How to check listener « View previous topic :: View next topic » 
Author Message
morpheus
PostPosted: Thu Jul 31, 2003 10:44 am    Post subject: How to check listener Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Hi everybody
How can I check whether mq listener is running on Unix os. if it is running on which port?



Thank you
morpheus
Back to top
View user's profile Send private message
Leafar
PostPosted: Thu Jul 31, 2003 11:13 am    Post subject: Reply with quote

Acolyte

Joined: 03 Apr 2003
Posts: 74
Location: Buenos Aires

There are two way to define a listener :

1) - from the command line which the command
runmqlsr -m QMGR -t tcp|udp -p PORT

you can use ps -ef | grep runmqlsr and if is running you'l see the port

2) run the listener as a service, defined in the /etc/services file.
In this case, you must ask to the system administrator for the name and port, because the name of the service and the port number can be freely chosen
Back to top
View user's profile Send private message MSN Messenger
Prahasith
PostPosted: Thu Jul 31, 2003 1:08 pm    Post subject: Reply with quote

Disciple

Joined: 16 May 2003
Posts: 184
Location: Kansas City

netstat -an | grep LISTEN

This might help too
Back to top
View user's profile Send private message Send e-mail
morpheus
PostPosted: Thu Jul 31, 2003 3:46 pm    Post subject: Thank you Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Thank you for the quik replies guys.
Actually I tried both of the above ways. Those commands are giving me a list of ports running. But I need to get the queue managername as well as port number. Please suggest me if you have any ideas.

Thanx
morpheus
Back to top
View user's profile Send private message
harwinderr
PostPosted: Fri Aug 01, 2003 1:02 am    Post subject: Reply with quote

Voyager

Joined: 29 Jan 2002
Posts: 90

The "ps -ef | grep runmqlsr" command will give you both the queue manager name and the port number.

For eg:
$ ps -ef | grep runmqlsr
mqm 32439 1 0 Jul24 ? 00:00:00 runmqlsr -m LONDON -t TCP -p 4444

Here LONDON is the name of the queue manager and 4444 is the port number,

Later,
HR
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
morpheus
PostPosted: Fri Aug 01, 2003 6:23 am    Post subject: Thank you Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Thank you Harwinder
It worked.


Later
Morpheus
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 check listener
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.