Using DISPLAY commands
We can use the WebSphere MQ MQSC DISPLAY or PCF Inquire commands to obtain information about the current state of WebSphere MQ. They provide information on the status of the command server, process definitions, queues, the queue manager, and so on. These commands are:
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 For the detailed syntax of each command, see WebSphere MQ Script (MQSC) Command Reference or WebSphere MQ Programmable Command Formats and Administration Interface manual. All of the functions of these commands (except DISPLAY CMDSERV and DISPLAY TRACE) are also available through the operations and control panels.
These commands provide a snapshot of the system only at the moment the command was processed. If you want to examine trends in the system, start a WebSphere MQ trace and analyze the results over a period of time.