| Author | 
		  Message
		 | 
		
		  | mreddington | 
		  
		    
			  
				 Posted: Tue Jun 12, 2007 6:55 am    Post subject: ACTIVE NUMBER OF CONNS | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 14 Aug 2006 Posts: 78
  
  | 
		  
		    
			  
				Hi all,
 
Is there a SCRIPT or any COMMAND (not using MQ Monitoring Tool) to find the active number of connections to a particular queue manager at any point of time? If so, Please guide me here.. (provide the command or the script)
 
Thank you | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Jun 12, 2007 6:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				If there is such a thing, it would be in the documentation.
 
 
You have a history of asking basic questions that are easily answered by reading the documentation, and being demanding that people provide answers for you.
 
 
Please try harder. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RogerLacroix | 
		  
		    
			  
				 Posted: Tue Jun 12, 2007 7:30 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 15 May 2001 Posts: 3265 Location: London, ON  Canada 
  | 
		  
		    
			  
				Hi,
 
 
I would have to agree with Jeff.     
 
 
I little searching would have given you: 
   
	| Code: | 
   
  
	| netstat -an  | grep 1414 | 
   
 
 
where 1414 is the queue manager's port number.
 
 
Regards,
 
Roger Lacroix
 
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
 
Connected to MQ!
 
Twitter | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | LuisFer | 
		  
		    
			  
				 Posted: Tue Jun 12, 2007 9:35 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Aug 2002 Posts: 302
  
  | 
		  
		    
			  
				| Or runmqsc  dis chs(*) and count the AMQ8417 msg. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | DTran | 
		  
		    
			  
				 Posted: Wed Jun 13, 2007 2:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 11 May 2006 Posts: 62 Location: Amsterdam 
  | 
		  
		    
			  
				or if you don't want to count
 
echo 'dis chs(*)' | runmqsc <qmgr name> | wc    _________________ There are 10 types of people in this world - those who understand binary and those who don't | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |