Home

 

dspmqbrk (Display broker status)

Purpose

Use the dspmqbrk command to display the status of a broker. On iSeries, the command name is DSPMQMBRK. The status value returned from this command can be one of:

  • Starting

  • Running

  • Stopping (immediate shutdown)

  • Quiescing (controlled shutdown)

  • Not active

  • Ended abnormally

Syntax

AIX, HP-UX, Linux, Solaris, and Windows


>>-dspmqbrk--+--------------+---------------------------------->< '- -m QMgrName-'

Optional parameters

AIX, HP-UX, Linux, Solaris, and Windows

-m QMgrName

The name of the queue manager for which the broker status is to be displayed. If you do not specify this parameter, the command applies to the default queue manager.

Syntax

iSeries


>>-DSPMQMBRK--+--------------------+--------------------------->< '- MQMNAME(QMgrName)-'

Optional parameters

iSeries

MQMNAME(QMgrName)

The name of the queue manager for which the broker status is to be displayed. If you do not specify this parameter, the command applies to the default queue manager.

Return codes

0

Command completed normally

10

Command completed with unexpected results

20

An error occurred during processing

Examples

dspmqbrk

Displays information about the broker on the default queue manager.

dspmqbrk -m exampleQM

Displays information about the broker on exampleQM.


 

Home