FreeKB - IBM MQ - display queue manager using the dspmq command
IBM MQ - display queue manager using the dspmq command

Home > Search

These examples are based on Linux. Switch to the mqm user.

su - mqm

 

Use the dspmq command to display the queue managers. In this example, there are 4 queue managers. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.

dspmq

QMNAME(MANAGER01)    STATUS(Running)
QMNAME(MANAGER02)    STATUS(Running as standby)
QMNAME(MANAGER03)    STATUS(Running elsewhere)
QMNAME(MANAGER04)    STATUS(Ended normally)

 


Include installation name/path/version

If you have more than one installation of MQ installed, you can use the -o installation option to display the installation name, path, and version. Typically, the -o status option is also included to display the status of the queue manager.

dspmq -o installation -o status

QMNAME(MANAGER01)    STATUS(Running) INSTNAME(Installation1) INSTPATH(/opt/mqm) INSTVER(9.1.0.3)

 


The strmqm command can be used to start a queue manager.

The endmqm command can be used to stop a queue manager.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter db316 in the box below so that we can be sure you are a human.




Comments