dspmq (display queue managers)
Display information about queue managers.
Purpose
You can use the dspmq command to display the names and details of the queue managers on the IBM® MQ Appliance.
Syntax
Parameters
- -a
- Specifies that information about only the active queue managers is displayed.
- -m QMgrName
- Specifies which queue manager to display the details for.
- -n
- Specifies that the translation of output strings is suppressed.
- -s
- Specifies that the operational status of the queue managers is displayed.
- -o all
- Specifies that the operational status of the queue managers is displayed. Specifying all is the equivalent of including all the -o parameters.
- -o default
- Specifies that the default queue manager status is displayed.
- -o ha
- Specifies that the HA type is displayed. The type is "replicated" for an HA queue manager, or blank otherwise. Displays the floating IP address and the local interface used for this address, if they have been configured for this queue manager,
- -o dr
- Specifies that disaster recovery information is displayed. Displays the port that the data replication listener on both appliances uses and the IP address used by the remote appliance.
- -o fs
- Specifies that information about the queue manager file system is displayed.Indicates whether the file system is encrypted or not:
ENCRYPTED(yes) ENCRYPTED(no) - -o status
- Specifies that the operational status of the queue managers is displayed.
Usage notes
- This command must be run from the IBM MQ administration mode. If the system is in the IBM MQ administration mode the prompt includes
mqa(mqcli)#. To enter the IBM MQ administration mode, entermqclion the command line. To exit the IBM MQ administration mode, enterexiton the command line. - The queue manager can be in any of the following states:
- Starting
- Running
- Running as standby
- Running elsewhere
- Quiescing
- Ending immediately
- Ending pre-emptively
- Ended normally
- Ended immediately
- Ended unexpectedly
- Ended pre-emptively
- Status not available
- For more information about this command in IBM MQ, see dspmq in the IBM MQ documentation.
Examples
- The following command displays queue managers on the appliance:
dspmq -o all
