MQSeries doesn't really give you much information when it comes to individual queues. On OS/390 you have the 2 SMF records that but they really only give you an overall picture of message throughput.
I once wrote a very simple program to monitor a queue's high-water mark on an OS/390 system although it should work for any platform. It ran continuously doing an MQGET BROWSE_NEXT on the queue in question. Every time a message was retrieved it did an MQINQ on the queue's CURDEPTH and if the value was higher than the highest recorded so far it wrote a line to SYSOUT with the time and CURDEPTH. Because of the way that MQ handles simultaneous GETs on a queue you can't gurantee you'll get every message but it seemed to be pretty accurate.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.