These examples are based on Linux. Switch to the mqm user.
su - mqm
Use the dspmq command to display the manager queue. In this example, there are two manager queues. 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)
The strmqm command can be used to start a queue manager.
The endmqm command can be used to stop a queue manager.