|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to check if the Queue is full |
« View previous topic :: View next topic » |
Author |
Message
|
xabhijit |
Posted: Tue Jul 08, 2003 10:39 pm Post subject: How to check if the Queue is full |
|
|
Newbie
Joined: 04 Apr 2003 Posts: 6
|
Hi is there any tool/command to find out if a particular queue is full or not?
Currently I am trying the following command
>runmqsc QManager
>dis ql (*) curdepth maxdepth
and then comparing the two columns manually which is a difficult job if one has to view some hundreds of queues... |
|
Back to top |
|
 |
EddieA |
Posted: Wed Jul 09, 2003 5:35 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
If you turn on Performance Events for the Queue Manager, then MQSeries can generate a message when an attempt to write a message to a queue that is at Max depth is attempted. If you have a program monitoring the Event queue, then you can react at that point.
I would suggest carefully reading the PCF, or Event Monitoring manual (depends on version of MQ),to fully understand how Queue Full, Queue Depth High and Queue Depth Low events work as it's not quite as straightforward as it looks.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
bduncan |
Posted: Wed Jul 09, 2003 4:10 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
I completely agree. A while back I was using Candle as my monitoring tool. It seemed to be misbehaving, and we wanted to determine whether the problem was with the Candle config or MQ. So I tried to analyze the event messages the QM was generating to see if they were getting fire when I expected them to, and it took quite a while to realize how the qdepth high and low events worked... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
xabhijit |
Posted: Wed Jul 09, 2003 8:34 pm Post subject: |
|
|
Newbie
Joined: 04 Apr 2003 Posts: 6
|
Thanx for the suggestions. I have been able to succesfully enable event and performance monitoring for my queue. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|