ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to understand AverageQueueTime ?

Post new topic  Reply to topic Goto page 1, 2  Next
 How to understand AverageQueueTime ? « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Fri Jun 29, 2012 4:52 pm    Post subject: How to understand AverageQueueTime ? Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 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
View user's profile Send private message
fjb_saper
PostPosted: Sat Jun 30, 2012 7:10 am    Post subject: Re: How to understand AverageQueueTime ? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
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
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Sat Jun 30, 2012 3:02 pm    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 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
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 30, 2012 4:47 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
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
View user's profile Send private message
fjb_saper
PostPosted: Sun Jul 01, 2012 6:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

and more specifically at the bottom of http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzax.doc/mo13670_.htm
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Sun Jul 01, 2012 8:05 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 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
View user's profile Send private message
mqjeff
PostPosted: Sun Jul 01, 2012 8:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Sample programs, including amqsmon, include the source code.

Code:
  {MQIAMO64_AVG_Q_TIME,       "AverageQueueTime", NULL},
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jul 01, 2012 8:45 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
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
View user's profile Send private message
KIT_INC
PostPosted: Sun Jul 01, 2012 10:04 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 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
View user's profile Send private message
bruce2359
PostPosted: Sun Jul 01, 2012 10:58 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
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
View user's profile Send private message
KIT_INC
PostPosted: Sun Jul 01, 2012 11:02 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 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
View user's profile Send private message
KIT_INC
PostPosted: Sun Jul 01, 2012 11:26 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

OK I got it. I was using the installed info center on my win 7. Here is the online one for "Displaying accounting and statistics" informationhttp://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.branding.doc%2Fhelp_home_wmq.htm

This is the one for the amqsmon example and "AverageQueueTime" is on that page
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.branding.doc%2Fhelp_home_wmq.htm
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Sun Jul 01, 2012 11:32 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

The above one still shows the home page. This is the right one for "Displaying accounting and statistics" You can go from there to get the example which shows the 'AverageQueueTime'

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzax.doc/mo13450_.htm
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Sun Jul 01, 2012 11:35 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

This is the example one

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzax.doc/mo13500_.htm
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jul 01, 2012 12:08 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

KIT_INC wrote:
OK I got it. I was using the installed info center on my win 7. Here is the online one for "Displaying accounting and statistics" informationhttp://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.branding.doc%2Fhelp_home_wmq.htm

This is the one for the amqsmon example and "AverageQueueTime" is on that page
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=%2Fcom.ibm.mq.branding.doc%2Fhelp_home_wmq.htm

...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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » How to understand AverageQueueTime ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.