| Author | Message | 
		
		  | KIT_INC | 
			  
				|  Posted: Fri Jun 29, 2012 4:52 pm    Post subject: How to understand AverageQueueTime ? |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| We just started using MQ Statistics on our environment, We have both V6 and V7 QMgrs (distributed). We need some help on
 1. Understanding ' AverageQueueTime'. There seem to be no explaination in the info center on how to read the numbers.
 2. Is there anyway to have Last PUT Time or last GET Time (using explorer or rnmqsc) to display milliseconds or lower. The put and get time just down to second is useless for most MQ environment. I thnk the 'AverageQueueTime' can tell us how soon a message is GET after the PUT, But I don't know how to read the number.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Sat Jun 30, 2012 7:10 am    Post subject: Re: How to understand AverageQueueTime ? |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| 
   
	| KIT_INC wrote: |  
	| We just started using MQ Statistics on our environment, We have both V6 and V7 QMgrs (distributed). We need some help on
 1. Understanding ' AverageQueueTime'. There seem to be no explaination in the info center on how to read the numbers.
 2. Is there anyway to have Last PUT Time or last GET Time (using explorer or rnmqsc) to display milliseconds or lower. The put and get time just down to second is useless for most MQ environment. I thnk the 'AverageQueueTime' can tell us how soon a message is GET after the PUT, But I don't know how to read the number.
 |  Read up in the manual. The number displayed are quite clearly documented. You get 2 numbers, one for non persistent messages and  one for persistent messages....
 Have fun
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sat Jun 30, 2012 3:02 pm    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| Hi fjb_saper, I use 'AverageQueueTime' as search argument in V7.1 info center and v6 info center, all I got is the 'amqsmon examples' page which are just sample output of amqsmon.
 I played with the search argument. I found AvgTimeOnQ. Is that the same as 'AverageQueueTime' ? It does sound close enough.
 Why is IBM doing this to us ? Calling the same thing with two different names.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Sat Jun 30, 2012 4:47 pm    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| 
   
	| KIT_INC wrote: |  
	| Hi fjb_saper, I use 'AverageQueueTime' as search argument in V7.1 info center and v6 info center, all I got is the 'amqsmon examples' page which are just sample output of amqsmon.
 I played with the search argument. I found AvgTimeOnQ. Is that the same as 'AverageQueueTime' ? It does sound close enough.
 Why is IBM doing this to us ? Calling the same thing with two different names.
 |  Where do you see the bold terms? What IBM document?
 
 Try searching for TimeOnQAvg.  You will find it here http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzax.doc%2Fmo10120_.htm
 _________________
 I like deadlines. I like to wave as they pass by.
 ב''ה
 Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Sun Jul 01, 2012 6:11 am    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sun Jul 01, 2012 8:05 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| I started with amqsmon and 'AverageQueueTime" is in the output. So I use it as search arugment in info center. I think this is quit normal. For someone who has some knowledge about PCF and MQAI, they may know that statistics uses PCF and start looking from there. For new comers , starting from what they see on the screen will be a very common approach. If IBM is more consistent on terms they use, it will be more user friendly. So it looks like 'TimeOnQAvgs' and  'AvgTimeOnQ' and ''AverageQueueTime" all the same thing. Am I right ? |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mqjeff | 
			  
				|  Posted: Sun Jul 01, 2012 8:24 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 25 Jun 2008Posts: 17447
 
 
 | 
			  
				| Sample programs, including amqsmon, include the source code. 
 
 
   
	| Code: |  
	| {MQIAMO64_AVG_Q_TIME,       "AverageQueueTime", NULL}, 
 |  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Sun Jul 01, 2012 8:45 am    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| 
   
	| KIT_INC wrote: |  
	| For new comers , starting from what they see on the screen will be a very common approach. If IBM is more consistent on terms they use, it will be more user friendly. |  Statistics and accounting is an advanced topic.
 
 
 
   
	| KIT_INC wrote: |  
	| So it looks like 'TimeOnQAvgs' and  'AvgTimeOnQ' and ''AverageQueueTime" all the same thing. Am I right ? |  Until you tell us where exactly you see these three terms used, we will be hard-pressed to answer whether these mean the same thing.
 
 The screen is not a technical answer to my question as to where you saw/read these terms. What application?  What documentation?
 
 Googling for TimeOnQAvgs yielded no hits.
 
 Googling for AvgTimeOnQ led to the URLs you were offered here.
 
 Googling for AverageQueueTime led me to one of your posts from last year.
 _________________
 I like deadlines. I like to wave as they pass by.
 ב''ה
 Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sun Jul 01, 2012 10:04 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| The only Document that I have been using is the official IBM MQ info center. 
 Here is my story
 I want to learn about accounting and statistics information. So I started with Info center (MQ V6).
 1. I use 'accounting ans statistics' as search argument and come up with a list of results.
 I pick 'DIsplaying accounting and statistics information' and the following page is displayed
 
 "Displaying accounting and statistics information
 
 Accounting and statistics messages are written to the system accounting and statistics queues. In order to use the information recorded in these messages, you must use an application to transform the recorded information into a format suitable to be used.
 
 amqsmon is a sample supplied with WebSphere MQ which processes messages from the accounting and statistics queues and displays the information to the screen in a readable form."
 
 2. I use amqsmon as search argument and select "amqsmon (Display formatted monitoring information)" from the result list.  I review the  second example and "AverageQueueTime" is in the sample output (see below)
 
 The following command displays all queue statistics messages for queue LOCALQ on queue manager saturn.queue.manager:
 amqsmon -m saturn.queue.manager -t statistics -q LOCALQ
 The output from this command follows:
 RecordType: QueueStatistics
 QueueManager: 'saturn.queue.manager'
 IntervalStartDate: '2005-04-30'
 IntervalStartTime: '15.09.02'
 IntervalEndDate: '2005-04-30'
 IntervalEndTime: '15.39.02'
 CommandLevel: 600
 ObjectCount: 3
 QueueStatistics:
 QueueName: 'LOCALQ'
 CreateDate: '2005-03-08'
 CreateTime: '17.07.02'
 QueueType: Predefined
 QueueDefinitionType: Local
 QMinDepth: 0
 QMaxDepth: 18
 AverageQueueTime: [29827281, 0]
 PutCount: [26, 0]
 PutFailCount: 0
 Put1Count: [0, 0]
 Put1FailCount: 0
 PutBytes: [88, 0]
 GetCount: [18, 0]
 GetBytes: [52, 0]
 GetFailCount: 0
 BrowseCount: [0, 0]
 BrowseBytes: [0, 0]
 BrowseFailCount: 1
 NonQueuedMsgCount: 0
 ExpiredMsgCount: 0
 PurgedMsgCount: 0
 
 Like you said there is nothing in google and search around for answer with no luck. So I posted my question.
 The first reply I got was I should be reading the manual. So I start to think that perhaps I shoudl change my search argument to see if I can have better luck and I found 'AvgTimeOnQ'. The rest of the story is in this post.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Sun Jul 01, 2012 10:58 am    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| 
   
	| KIT_INC wrote: |  
	| I pick 'DIsplaying accounting and statistics information' and the following page is displayed ... |  I'll be more specific.  What was the URL of the page you displayed?
 _________________
 I like deadlines. I like to wave as they pass by.
 ב''ה
 Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sun Jul 01, 2012 11:02 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 | 
			  
				| I did try to get the url for you. When I go to the address bar. It only shows http://127.0.0.1:61329/help/index.jsp.
 
 I am not sure if this is because of my win 7 set up (my info center is install under WIN 7) or there is a better way to get the url. Please let me know if there is a better way.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sun Jul 01, 2012 11:26 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sun Jul 01, 2012 11:32 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | KIT_INC | 
			  
				|  Posted: Sun Jul 01, 2012 11:35 am    Post subject: |   |  | 
		
		  | Knight
 
 
 Joined: 25 Aug 2006Posts: 589
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bruce2359 | 
			  
				|  Posted: Sun Jul 01, 2012 12:08 pm    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| ...home_wmq.htm is the home page for things mq; and doesn't lead to any specific subject
 _________________
 I like deadlines. I like to wave as they pass by.
 ב''ה
 Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |