消息流记帐和统计信息的 XML 发布示例

本主题显示包含消息流记帐和统计信息数据的 XML 发布。

以下示例显示为快照报告生成的输出。此发布消息的内容显示该消息流称为 XMLflow,它正在代理 MQ02BRK 上名为 default 的执行组中运行。消息流包含以下节点:

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>
相关概念
消息流记帐和统计信息数据
消息流概述
相关任务
收集消息流记帐和统计信息数据
开发消息流
相关参考
消息流记帐和统计信息输出格式
声明 | 商标 | 下载 | 书库 | 支持 | 反馈
Copyright IBM Corporation 1999, 2006 最后一次更新时间:2006/08/14
ac19060_