| Author | 
		  Message
		 | 
		
		  | Shanta | 
		  
		    
			  
				 Posted: Sun Sep 11, 2005 12:10 am    Post subject: Listener Port no | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 01 Sep 2005 Posts: 81
  
  | 
		  
		    
			  
				Please help  me  how to find Listener port no at command promt for queue manager .
 
 
 I am using Solaris 5.8 OS 
 
 
 
 
 
Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sun Sep 11, 2005 7:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				or run 
   
	| Code: | 
   
  
	| ps -ef | grep runmqlsr | 
   
 
which will give you the port # and qmgr for which a listener has been started in the system using runmqlsr....
 
 
Enjoy    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mq_smart | 
		  
		    
			  
				 Posted: Wed Sep 14, 2005 5:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 30 Aug 2005 Posts: 57 Location: Vizag India 
  | 
		  
		    
			  
				Hi shanta just u can check it out by using 
 
netstat -a  command.
 
[/quote]   _________________ Thanks in Advance
 
 
ONE life LIVE it KING size.... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Wed Sep 14, 2005 5:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				netstat -a lists ports that are open.
 
 
It's harder to know that a particular open port is being used to MQ... _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jsware | 
		  
		    
			  
				 Posted: Thu Sep 15, 2005 2:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Chevalier
 
 Joined: 17 May 2001 Posts: 455
  
  | 
		  
		    
			  
				netstat -a also gives you ports being listened on.
 
 
netstat -a |grep LIST
 
 
will filter then out.  It won't tell you which one is being used by MQ.
 
 
"ps -ef |grep runmqlsr" is probably your best bet. _________________ Regards
 
John
 
The pain of low quaility far outlasts the joy of low price. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Sep 15, 2005 7:22 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| scottj2512 wrote: | 
   
  
	netstat -a also gives you ports being listened on.
 
 
netstat -a |grep LIST
 
 
will filter then out.  It won't tell you which one is being used by MQ.
 
 
"ps -ef |grep runmqlsr" is probably your best bet. | 
   
 
 
 
That and checking inetd.conf
 
If the listener is run as inetd process it will not show up in the preceding command.
 
 
Enjoy    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | xxx | 
		  
		    
			  
				 Posted: Thu Sep 15, 2005 10:39 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 13 Oct 2003 Posts: 137
  
  | 
		  
		    
			  
				| Can any one provide info for AS400 , i.e which port it is listening on | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vinodsasidharan | 
		  
		    
			  
				 Posted: Mon Sep 19, 2005 2:47 am    Post subject: LISTENER ON AS400 | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 25 Apr 2003 Posts: 47 Location: Norwich 
  | 
		  
		    
			  
				Hi All ,
 
 
  On the as400 the following command will give you the listener on which the QM is running ...
 
 
 WRKMQMLSR
 
 
Enjoy !!! _________________ Vinod sasidharan
 
 Ibm Certfied MQ Admin 5.3
 
 Ibm Certfied MQ Admin 6.0
 
 Ibm Certfied WAS Admin 6.0
 
 Ibm Certfied WMB Admin 5.0
 
 Ibm Certfied Db2 Specialist.
 
 Sun certified Java Programmer. 
 
 
"Ai carte, ai parte ....................." | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |