Command List
Given below is a random list of commands that you can use (as and when appropriate) to troubleshoot issues with MQ server monitoring:
-
To create a queue manager and make it the default queue manager:
crtmqm -q <Queue Manager Name>
- To start the default queue manager: strmqm
- To start a specific queue manager: strmqm <Queue Manager Name>
- To stop the default queue manager: endmqm
- To stop a specific queue manager: endmqm <Queue Manager Name>
- To delete a specific queue manager: dltmqm <Queue Manager Name>
-
To view all the queue managers that have been configured, and their status: /opt/mqm/bin/dspmq
-
The following command is used to issue MQSC commands. Note that no prompt appears after you execute this command.
runmqsc
-
To check a user’s permissions:
dspmqaut -m MQCAUXT1 -t qmgr -p eguser
dspmqaut -m MQCAUXT1 -t qmgr -p eguser AMQ7077
- To set permissions: setmqaut