Getting snapshots of IBM MQ using the DISPLAY commands
IBM MQ provides the MQSC facility which can give a snapshot of the performance, and resource usage using the DISPLAY commands.
We can get an idea of the current state of IBM MQ by using the DISPLAY commands and, for the CICS adapter, the CICS adapter panels.
- Use DISPLAY commands
- We can use the IBM MQ MQSC DISPLAY or PCF Inquire commands to obtain information about the current state of IBM MQ. They provide information about the status of the command server, process definitions, queues, the queue manager, and its associated components. These commands are:
For the detailed syntax of each command, see MQSC commands or PCF commands. All of the functions of these commands (except DISPLAY CMDSERV and DISPLAY TRACE) are also available through the operations and control panels.
MQSC command PCF command DISPLAY ARCHIVE Inquire Archive DISPLAY AUTHINFO Inquire Authentication Information Object DISPLAY CFSTATUS Inquire CF Structure Status DISPLAY CFSTRUCT Inquire CF Structure DISPLAY CHANNEL Inquire Channel DISPLAY CHINIT Inquire Channel Initiator DISPLAY CHSTATUS Inquire Channel Status DISPLAY CMDSERV DISPLAY CLUSQMGR Inquire Cluster Queue Manager DISPLAY CONN Inquire Connection DISPLAY GROUP Inquire Group DISPLAY LOG Inquire Log DISPLAY PROCESS Inquire Process DISPLAY QMGR Inquire Queue Manager DISPLAY QSTATUS Inquire Queue Status DISPLAY QUEUE Inquire Queue DISPLAY SECURITY Inquire Security DISPLAY STGCLASS Inquire Storage Class DISPLAY SYSTEM Inquire System DISPLAY TRACE DISPLAY USAGE Inquire Usage These commands provide a snapshot of the system only at the moment the command was processed. To examine trends in the system, we must start an IBM MQ trace and analyze the results over a period of time.
Parent topic: Introduction to monitoring IBM MQ for z/OS