Author |
Message
|
chris boehnke |
Posted: Thu Jul 10, 2008 7:21 am Post subject: Monitoring of MQ msgs thru queues for a period of time |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
Hi Guys,
I am wondering whether we have any kind of setting or tracing to view how many msgs have gone thru a particular queue for a period of time(lets say for 1 hour). This will help us in better keep track of the msgs in performance testing.
Thanks. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 10, 2008 2:03 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The history/report set up on most of the standard monitoring products on the market should give that information.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
chris boehnke |
Posted: Thu Jul 10, 2008 2:36 pm Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
fjb_saper wrote: |
The history/report set up on most of the standard monitoring products on the market should give that information.  |
Hi FJ,
right now we dont have any monitoring tool but in the future we will get one(not sure which one). I am wondering whether we have any MQ configuration/setup to get the number of msgs gone thru a particular queue for a period of time?.
Thanks. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jul 10, 2008 5:54 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I think the easiest and fastest way to this if you don't already have a commercial MQ monitoring tool is to:
A. Make sure Perfromance Events are turned on at the QM level
B. Connect to the QM with your MO71 Support Pack
C. Right click on the QM and select "Queue Statistics"
d. Type in your q name and click refresh as often as you need to (or tell MO71 to automatically refresh every x seconds). _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
dkeister |
Posted: Fri Jul 11, 2008 9:37 am Post subject: |
|
|
Disciple
Joined: 25 Mar 2002 Posts: 184 Location: Purchase, New York
|
Not sure this will do what you are looking for, but MQExerciser will sample and record queue depths at an interval you set (e.g. 1 second, 1 minute, etc.). This can be displayed graphically and optionally put into a log to see the changes in queue depth between the sampling interval.
For example:
- at interval 1 the queue depth is 10.
- Between interval 1 and 2 two messages are enqueued.
At interval 2 the log shows Old = 10, New = 12.
- Between interval 2 and 3 five messages are dequeued.
At interval 3 the log shows Old = 12, New = 7.
- Between interval 3 and 4 six messages are enqueued and six messages are dequeued.
At interval 4 the log shows no change since Old = 7 and New = 7.
- Between interval 4 and 5 ten messages are enqueued and 8 messages are dequeued.
At interval 5 the log shows Old = 7, New = 9
From the above example you can only see the delta:
Interval 2 - Delta Messages = 2, Actual messages = 2
Interval 3 - Delta Messages = -5, Actual messages = 5
Interval 4 - Delta Messages = 0, Actual messages = 12
Interval 5 - Delta Messages = 2, Actual messages = 18
So, the smaller the interval in relation to the enqueue/dequeue rate, the more accurate it will be. However, if messages are being enqueued and dequeued, this will never give you a guaranteed count of message traffic. _________________ Dean Keister |
|
Back to top |
|
 |
nageshshiv |
Posted: Tue Jul 15, 2008 3:05 am Post subject: |
|
|
Apprentice
Joined: 09 May 2008 Posts: 30
|
Hi chris ,
If you don't have any monitoring tool , One option to track the messages is you need to keep the dedicated channels for REMOTE QUEUE -- SDR Chl
Local Queue --- > RCVR Chl
Once you have dedicated channels ..
Pls run command in runmqsc "dis chs(sdr-channel) all* . in the output a field called "MESSAGE( COUNT) " will give number of messages sent.
dis chs(rcvr-channel) all* , Will give number of message received .
Regards,
Nagesh |
|
Back to top |
|
 |
irony |
Posted: Fri Jul 18, 2008 11:22 am Post subject: Re: Monitoring of MQ msgs thru queues for a period of time |
|
|
Apprentice
Joined: 18 Nov 2005 Posts: 35 Location: US
|
|
Back to top |
|
 |
|