Websphere MQ Queue depth

Websphere MQ Queue depth command for reference below.

I always use MQ Explorer for checking the Queue depth as it gives me a way to capture screenshots properly. I use commands occasionally to check the current queue depth.

Below commands are usually used to check the current queue depth,

1. Navigate to WebSphere MQ version bin directory

2. Issue below command to start the queue

runmqsc <queue name>

3. Display Queue details as shown below,

DISPLAY QUEUE (QUEUENAME) all

4. Above command will list us all details that are used for a Queue. Some of them are mentioned below
CURDEPTH(0)
MAXDEPTH(10000)
QDEPTHHI(80)
QDEPTHLO(20)
IPPROCS(10)    OPPROCS(10)….

To display all Queue information issue below command

DISPLAY QUEUE (*) all

IBM Support portal link for reference, http://www-01.ibm.com/support/docview.wss?uid=swg21050427

There is one more IBM Support link that is used to determine if a WebSphere MQ queue has messages that are being held in an open transaction by an application (uncommitted messages)