Controlling the WebSphere MQ configuration and monitoring extensions on a Windows platform

  1. Open a command prompt and change to the directory containing the distributed files.
  2. Enter the extension command (qpmon or qpcfg) followed by the required command parameter as described in the table below.

    For example, qpcfg --start starts the configuration extension; qpmon --stop stops the monitoring extension.

Command parameters

Use to...

--console

Run the extension program in the foreground, displaying log messages as they are generated. It is useful when trying to locate or troubleshoot problems.

--help

List the available command prompt options (this list) and short descriptions.

--ts-host host

Set the host of the TMTM Topic Service so that the monitoring extension can pass its information to it. host is the host name or IP address of the TMTM Topic Service.

--ts-port port

Set the port of the TMTM Topic Service so that the monitoring extension can pass its information to it. port is the port number of the TMTM Topic Service.

--start

Start the extension.

(Optional) Using the Windows Service Manager, configure the WebSphere MQ Configuration and Monitoring Extensions to start automatically when the computer is restarted.

--install

Install the extension as a Windows Service.

--status

Provides an execution status for the extension.

--stop

Stop the extension.

--version

Displays version information for the extension.

--remove

Remove the extension from the Windows registry.

Ctrl+c

Stop the extension. This is used in console mode. The command both stops the extension and exits console mode.

Note

Permission to alter WebSphere MQ objects is set by the user who starts the configuration extension.

For information about how to secure individual agents, see Managing WebSphere MQ object security.

Was this page helpful? Yes No Submitting... Thank you

Comments