Tuesday, September 14, 2010

Monitoring MQ queue running on Linux

MQ user interface is VERY mainframe... you must get used to a very stern and dry presentation.

log into your unix box running the mqserver


cd $MQSERVER_HOME/bin

runmqsc myqueuemanager

help

display qstatus(myqueue)



4 : DISPLAY QSTATUS(myqueue)

AMQ8450: Display queue status details.

QUEUE(myqueue) TYPE(QUEUE)

CURDEPTH(0) IPPROCS(2)

LGETDATE( ) LGETTIME( )

LPUTDATE( ) LPUTTIME( )

MEDIALOG( ) MONQ(OFF)

MSGAGE( ) OPPROCS(0)

QTIME( , ) UNCOM(NO)





AMQ8426: Valid MQSC commands are:


ALTER

CLEAR

DEFINE

DELETE

DISPLAY

END

PING

REFRESH

RESET

RESOLVE

RESUME

START

STOP

SUSPEND




Terminology:

Message Queue Interface (MQI)
Queue Manager (QM), which hosts Queues and Channels

Queues can be:
Local queue (held in the QM)
Transmission queue (basically a Bridge)
Remote queue definition (basically a Foreign Queue)
Alias queue (just a nickname for an existing queue)
Model queue (a template)
Cluster queue (like a Uniform Distributed Queue)
Shared queue (???)
Group definition queue (???)

No comments: