以下の例では、スナップショット・レポートで生成された出力が示されています。 このパブリケーション・メッセージの内容は、メッセージ・フローの名前が XMLflow であり、ブローカー MQ02BRK 上でデフォルトという名前の実行グループで実行していることを示しています。メッセージ・フローには、以下のノードが含まれています。
MQInput ノードの out ターミナルは、OUTQueue ノードに接続されています。 MQInput ノードの failure ターミナルは、FAILQueue ノードに接続されています。
統計が収集されるインターバルの間、このメッセージ・フローではメッセージが処理されませんでした。
このデータに関して生成されるパブリケーションには、現在のデータがない場合でも、必ず適切なフォルダーが含まれます。
次のコマンドを発行し、以下の結果になりました。
mqsichangeflowstats MQ02BRK -s -c active -e default -f XMLFlow -n advanced -t basic -b basic -o xml
読みやすくするために、フォルダーの間にブランク行が追加されています。
以下は、サブスクリプション・メッセージの例です。 <psc> および <mcd> エレメントは、RFH ヘッダーの一部です。
<psc> <Command>Publish</Command> <PubOpt>RetainPub</PubOpt> <Topic>$SYS/Broker/MQ02BRK/StatisticsAccounting/SnapShot/default/XMLflow </Topic> </psc> <mcd> <Msd>xml</Msd> </mcd>
以下は、ブローカーが生成するパブリケーションの例です。
<WMQIStatisticsAccounting RecordType="SnapShot" RecordCode="Snapshot"> <MessageFlow BrokerLabel="MQ02BRK" BrokerUUID="7d951e31-f200-0000-0080-efe1b9d849dc" ExecutionGroupName="default" ExecutionGroupUUID="77cf1e31-f200-0000-0080-efe1b9d849dc" MessageFlowName="XMLflow" StartDate="2003-01-17" StartTime="14:44:34.581320" EndDate="2003-01-17" EndTime="14:44:44.582926" TotalElapsedTime="0" MaximumElapsedTime="0" MinimumElapsedTime="0" TotalCPUTime="0" MaximumCPUTime="0"MinimumCPUTime="0" CPUTimeWaitingForInputMessage="685" ElapsedTimeWaitingForInputMessage="10001425" TotalInputMessages="0" TotalSizeOfInputMessages="0" MaximumSizeOfInputMessages="0" MinimumSizeOfInputMessages="0" NumberOfThreadsInPool="1" TimesMaximumNumberOfThreadsReached="0" TotalNumberOfMQErrors="0" TotalNumberOfMessagesWithErrors="0" TotalNumberOfErrorsProcessingMessages="0" TotalNumberOfTimeOutsWaitingForRepliesToAggregateMessages="0" TotalNumberOfCommits="0" TotalNumberOfBackouts="0" AccoutingOrigin="DEPT1"/> <Threads Number="1"> <ThreadStatistics Number="5" TotalNumberOfInputMessages="0" TotalElapsedTime="0" TotalCPUTime="0" CPUTimeWaitingForInputMessage="685" ElapsedTimeWaitingForInputMessage="10001425" TotalSizeOfInputMessages="0" MaximumSizeOfInputMessages="0" MinimumSizeOfInputMessages="0"/> </Threads> <Nodes Number="3"> <NodeStatistics Label="FAILQueue" Type="MQOutput" TotalElapsedTime="0" MaximumElapsedTime="0" MinimumElapsedTime="0" TotalCPUTime="0" MaximumCPUTime="0" MinimumCPUTime="0" CountOfInvocations="0" NumberOfInputTerminals="1" NumberOfOutputTerminals="2"> <TerminalStatistics Label="failure" Type="Output" CountOfInvocations="0"/> <TerminalStatistics Label="in" Type="Input" CountOfInvocations="0"/> <TerminalStatistics Label="out" Type="Output" CountOfInvocations="0"/> </NodeStatistics> <NodeStatistics Label="INQueue3" Type="MQInput" TotalElapsedTime="0" MaximumElapsedTime="0" MinimumElapsedTime="0" TotalCPUTime="0" MaximumCPUTime="0" MinimumCPUTime="0"CountOfInvocations="0" NumberOfInputTerminals="0" NumberOfOutputTerminals="3"> <TerminalStatistics Label="catch" Type="Output" CountOfInvocations="0"/> <TerminalStatistics Label="failure" Type="Output" CountOfInvocations="0"/> <TerminalStatistics Label="out" Type="Output" CountOfInvocations="0"/> </NodeStatistics> <NodeStatistics Label="OUTQueue" Type="MQOutput" TotalElapsedTime="0" MaximumElapsedTime="0" MinimumElapsedTime="0" TotalCPUTime="0" MaximumCPUTime="0" MinimumCPUTime="0" CountOfInvocations="0" NumberOfInputTerminals="1" NumberOfOutputTerminals="2"> <TerminalStatistics Label="failure" Type="Output" CountOfInvocations="0"/> <TerminalStatistics Label="in" Type="Input" CountOfInvocations="0"/> <TerminalStatistics Label="out" Type="Output" CountOfInvocations="0"/> </NodeStatistics> </Nodes> </WMQIStatisticsAccounting>