mqsilist コマンドを使用して、1 つ以上のブローカーとそのデプロイ済みリソースについての情報をリストします。
>>-mqsilist--+----------------------------------+---------------> +- -a -----------------------------+ '-| brokerSpec |--+--------------+-' '- -e --egName-' >--+-------------------+--+-----------------------+--+------+---> '- -d --detailLevel-' '- -k --applicationName-' '- -r -' >--+---------------------+--+-------------------+---------------> '- -v --traceFileName-' '- -w --timeoutSecs-' >--+-------------------+--------------------------------------->< '- -y --libraryName-' brokerSpec |--+- brokerName ----------------+------------------------------| +- -n --brokerFileName--------+ | .-------------------------. | | V | | '-----+- -i --ipAddress-+---+-' +- -p --port------+ '- -q --qMgr------'
パラメーターを使わずにこのコマンドを指定した場合、このコンピューターの現在のインストール済み環境で作成済みのブローカーに関する要約が戻されます。
現在のインストール済み環境は、(Windows では) 既に開いているコマンド・コンソール、または (Linux および UNIX システムでは) アクティブな mqsiprofile に関連付けられます。
このオプションは、複数のユーザーが同じブローカーに接続する場合や、SSL などの拡張接続パラメーターを使用する場合に使用します。
このファイルを作成するには、WebSphere® Message Broker Explorer 内でブローカーを右クリックし、「*.broker のエクスポート」を選択します。 プロンプトが出た場合は、ファイルを保存する場所にナビゲートし、ファイル名を入力してください。「保管」をクリックする際に、拡張子 .broker が自動的に付加されます。 このパラメーターの指定時には、場所 (パス) とファイル名を含めてください。 このコマンドの実行時には、この場所がアクセス可能であることを確認しなければなりません。
SSL を使用して、セキュア・チャネルを介してリモート・ブローカーを管理するコマンドを実行する場合、IBM_JAVA_OPTIONS 環境変数を使用して、接続用の鍵ストアおよびトラストストアのパスワードを指定する必要があります。 詳細は、コマンド実行時の問題の解決を参照してください。
拡張接続パラメーターが必要ないリモート・ブローカーへの接続の場合は、このオプションを使用します。
このオプションを選択する場合は、以下の 3 つのパラメーターのうち 1 つ以上を指定しなければなりません。指定する順序は意味を持ちません。 それぞれのパラメーターを複数回指定することはできません。
省略したパラメーターは、デフォルト値が想定されます。
バージョン 7.0 より前のバージョンがインストールされたコンピューターに対してこのオプションを指定した場合、それらのバージョンのブローカーだけがリストされます (存在する場合)。 このコマンドで別の詳細レベルを指定した場合 (またはデフォルトを受け入れた場合) であっても、これらの古いブローカーに関する詳細レベルは -d 0 になります。 以前のバージョンで作成した他のコンポーネントについての情報を表示するには、それに該当するバージョンの mqsilist コマンドを使用する必要があります。
このオプションを使ってリモート・ブローカーとそのリソースについての情報をリストすることはできません。
開始中に、実行グループが PID 0 を報告する可能性があることに注意してください。
メッセージ・フローの情報が戻されるためには、指定されたブローカーがアクティブでなければなりません。
mqsilist -d0
BIP8099I: Broker: MB8BROKER - MB8QMGR
BIP8099I: Broker: test - testqm
BIP8071I: Successful command completion.
mqsilist MB8BROKER -e default -k myApplication
mqsilist MB8BROKER -e default -k myApplication -y myEGLibrary
mqsilist MB8BROKER -e default -k myApplication -d2
mqsilist MB8BROKER -e default -k myApplication -r
mqsilist MB8BROKER
BIP1286I: Execution group 'ello' on broker 'MB8BROKER' is running.
BIP8071I: Successful command completion.
mqsilist -a -r -d2
BIP1280I: The number of runtime installations on this machine is '1'.
7.0.0.0 : C:¥Program Files¥IBM¥MQSI¥7.0
===================================
BIP1284I: Broker 'MB7BROKER' on queue manager 'MB7QMGR' is running.
Broker version: '7000' (build 'S000-L90708')
Platform: 'Microsoft Windows'
Process ID: '3116'
Short description: ''
Long description: ''
-----------------------------------
BIP1286I: Execution group 'ello' on broker 'MB7BROKER' is running.
Number of message flows that are enabled to run: '2'.
Number of applications that are enabled to run: '1'.
Process ID: '4220'
UUID: '45ef67ac-2201-0000-0080-f364270ba85e'
Short description: ''
Long description: ''
--------
BIP1288I: Message flow 'simpleflow' on execution group 'ello' is running.
Additional thread instances: '0'
Deployed: '24/07/09 16:37' in Bar file 'C:¥Documents and Settings¥Matt¥My Documents¥BAR Files¥test.bar'
Last edited: '08/08/07 17:42'
User-defined property names:
Keywords:
Author = 'Matt'
Information = 'This flow simply removes messages from SYSTEM.DEFAULT.LOCAL.QUEUE'
Usage = 'This usage is buried inside the CMF'
VERSION = 'v1.1'
--------
BIP1288I: Message flow 'MyApplicationFlow' on execution group 'ello' is running.
Additional thread instances: '0'
Deployed: '27/07/09 20:15' in Bar file 'C:¥Documents and Settings¥Matt¥My Documents¥BAR Files¥overridden.bar'
Last edited: '12/06/07 17:06'
User-defined property names:
Keywords:
--------
BIP1290I: File 'Swift_2002_MT103.dictionary' is deployed to execution group 'ello'.
Deployed: '27/07/09 16:47' in Bar file 'C:¥Documents and Settings¥Matt¥My Documents¥BAR Files¥SWIFT.bar'
Last edited: '06/09/05 15:17'.
Keywords:
===================================
BIP1285I: Broker 'test' on queue manager 'testqm' is stopped.
Start the broker for more information.
BIP8071I: Successful command completion.
BIP1280I: The number of runtime installations on this machine is '1'.
7.0.0.0 : C:¥Program Files¥IBM¥MQSI¥7.0
===================================
BIP1292I: Broker 'MIBROKER1' is a multi-instance broker .
The broker instance is running in Standby-mode on multi-instance
Queue manager ‘MIQMGR1'
More information will be available when the broker instance is active.
BIP8071I: Successful command completion
BIP1280I: The number of runtime installations on this machine is '1'.
7.0.0.0 : C:¥Program Files¥IBM¥MQSI¥7.0
===================================
BIP1293I: Broker 'MIBROKER1' is a multi instance broker .
The broker instance is active and running on multi-instance
Queue manager ‘MIQMGR1'
-----------------------------------
BIP1286I: Execution group 'default' on broker 'MIBROKER1' is running.
Number of message flows that are enabled to run: '1'.
Number of applications that are enabled to run: '1'.
Process ID: '4876'
UUID: '45ef7be4-2203-0000-0080-b764270fa96c'
Short description: ''
Long description: ''
--------
BIP1288I: Message flow 'jmsflow' on execution group 'default' is running.
Additional thread instances: '0'
Deployed: '26/09/09 18:21' in Bar file 'C:¥Documents and Settings¥JDoe¥My Documents¥
BAR Files¥test.bar'
Last edited: '24/09/09 12:16'
User-defined property names:
Keywords:
Author = 'JDoe'
Information = 'This flow runs a simple jms scenario'
Usage = 'Takes JMS input and writes to an MQOutput node'
VERSION = 'v2.3'
--------
BIP8071I: Successful command completion.
BIP1296I: ブローカー 'HABK1' は、WebSphere MQ サービスとして始動するマルチインスタンス・ブローカーです。
マルチインスタンス・キュー・マネージャー 'HAQM1' は停止しました。
BIP1298I: ブローカー 'BK3' は WebSphere MQ サービスとして始動します。
キュー・マネージャー 'QM3' は停止しました。