| Author | 
		  Message
		 | 
		
		  | ashmir Anil | 
		  
		    
			  
				 Posted: Fri Jul 21, 2006 3:51 am    Post subject: how to check port number on Aix. | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 06 Jul 2006 Posts: 7 Location: b'lore 
  | 
		  
		    
			  
				Hi,
 
 i have struck with one problem can anyone help me.
 
I want to check onwhich port number mQ server is running on Aix v 5.3.
 
Anyone tell me by which commond i am able to find port number of Mq v 6.0 .
 
 
thanks in Advance ..
 
 
ASh    _________________ Hello My name is Ashish.
 
Will see to work together. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Jul 21, 2006 3:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				On MQ v6 you can use the DISPLAY LISTENER command. You'll find it detailed (oddly enough) in the "Command Reference" manual. I commend this document to you....    
 
 
Failing that, do a netstat. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | elvis_gn | 
		  
		    
			  
				 Posted: Fri Jul 21, 2006 4:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Padawan
 
 Joined: 08 Oct 2004 Posts: 1905 Location: Dubai 
  | 
		  
		    
			  
				Hi ashmir Anil,
 
 
Try a search, this topic was discussed a few days back and I pasted a link from an older topic to that too.....actually fed up of doing it again and again   
 
 
Regards. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ashmir Anil | 
		  
		    
			  
				 Posted: Fri Jul 21, 2006 4:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 06 Jul 2006 Posts: 7 Location: b'lore 
  | 
		  
		    
			  
				Hi Vitor,
 
DISPLAY LISTENER commond is not working. netstat commond is working but i m not able to see a port number.
 
 
Could u plz tell me which commond I could use to get port number .
 
 
Thnks For Quick Response.
 
 
Ashish    _________________ Hello My name is Ashish.
 
Will see to work together. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Jul 21, 2006 4:12 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				a) Why isn't the command working? What's it failed with? Have you checked the reference I gave you?
 
 
b) What does netstat return except port numbers??    
 
    (Alright, that's a little harsh, it does return bags of stuff on AIX)    
 
 
c) Have you tried searching as elvis_gn suggested? He's quite correct, this is not the first time this has come up.
 
 
   
	| ashmir Anil wrote: | 
   
  
	| Could u plz tell me which commond I could use to get port number | 
   
 
 
 
DISPLAY LISTENER or netstat. If they don't work for you, no I can't....    _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ashmir Anil | 
		  
		    
			  
				 Posted: Fri Jul 21, 2006 4:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 06 Jul 2006 Posts: 7 Location: b'lore 
  | 
		  
		    
			  
				Hi guys ,
 
 
I got the Answer ........
 
 
Run this commond to get port number .
 
 
ps -ef | grep runmqlsr
 
 
 
B4N
 
   _________________ Hello My name is Ashish.
 
Will see to work together. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |