| Author | 
		  Message
		 | 
		
		  | rsadhasivam | 
		  
		    
			  
				 Posted: Wed Aug 14, 2002 9:52 am    Post subject: hit from client | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 18 Jun 2002 Posts: 12
  
  | 
		  
		    
			  
				how do I find out how many client machines are connecting to MQServer ?
 
 
Is there a way to capture those mahine IP addresses?. _________________ Ravi
 
IBM Certified Specialist - MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Wed Aug 14, 2002 10:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				At version 5.3 you can tell who has a queue OPEN (not the same thing as who is connected) _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mq_developer | 
		  
		    
			  
				 Posted: Wed Aug 14, 2002 5:27 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 18 Feb 2002 Posts: 82
  
  | 
		  
		    
			  
				On the QMGR ,if you issue a 
 
dis chs(SVRCONNECTIONCHANNEL) conname , you can find out how
 
many people are connected and their ip address 
 
 
here SVRCONNECTIONCHANNEL is nothing but the svrconnection channel which your client uses to connect to MQSERVER.
 
 
-- Ram -- | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | oz1ccg | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 2:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 10 Feb 2002 Posts: 628 Location: Denmark 
  | 
		  
		    
			  
				Another thing could be wrieing a security exit, which captures the IP address and put into a file for later use...
 
 
Just my $0.02    _________________ Regards, Jørgen
 
Home of BlockIP2, the last free MQ Security exit  ver. 3.00
 
Cert. on WMQ, WBIMB, SWIFT. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vmcgloin | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 3:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Knight
 
 Joined: 04 Apr 2002 Posts: 560 Location: Scotland 
  | 
		  
		    
			  
				Just out of curiosity, does anyone know if doing 'netstat -a|grep 1414' for the port number on which the qmgr is listening has the same effect? I only use 5.2 so can't compare it with the 5.3 functionality.
 
 
Thanks,
 
Vicky | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | oz1ccg | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 5:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 10 Feb 2002 Posts: 628 Location: Denmark 
  | 
		  
		    
			  
				If not using a exit, you will only get a snapshot of currently connected IP addresses.
 
 
When using an exit, you can record them all.
 
 
just my $0.02    _________________ Regards, Jørgen
 
Home of BlockIP2, the last free MQ Security exit  ver. 3.00
 
Cert. on WMQ, WBIMB, SWIFT. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Thu Aug 15, 2002 5:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				The best thing is to use the runmqsc command  dis chs(svrconnChannelName) 
 
 
it will show all the connections and there IP address's _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rsadhasivam | 
		  
		    
			  
				 Posted: Mon Aug 19, 2002 8:16 am    Post subject: Client | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 18 Jun 2002 Posts: 12
  
  | 
		  
		    
			  
				At this point I also used netstat -a option to get an idea of how many are connected.
 
 
Is there any example for exit routine to capture IP address. I really need to know how many are connected for a given day.
 
 
-Ravi _________________ Ravi
 
IBM Certified Specialist - MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |