메시지 플로우 계정 및 통계의 XML publication 예

이 토픽은 메시지 플로우 계정 및 통계 데이터를 포함하는 XML publication을 표시합니다.

다음 예에서는 스냅샷 보고서에 생성된 출력을 보여줍니다. 이 publication 메시지의 컨텐츠는 메시지 플로우가 XMLflow라는 이름을 가지며 브로커 MQ02BRK의 디폴트 실행 그룹에서 실행 중임을 보여줍니다. 메시지 플로우에는 다음과 같은 노드가 있습니다.

MQInput 노드 out 터미널은 OUTQueue 노드에 연결되어 있습니다. MQInput 노드 failure 터미널은 FAILQueue 노드에 연결되어 있습니다.

통계가 수집되는 간격 동안 이 메시지 플로우는 아무 메시지도 처리하지 않았습니다.

이 데이터에 대해 생성된 publication은 현재 데이터가 없더라도 항상 해당 폴더를 포함합니다.

이러한 결과를 얻기 위해 다음 명령이 발행되었습니다.

mqsichangeflowstats MQ02BRK -s -c active -e default -f XMLFlow -n advanced -t basic -b basic -o xml

쉽게 읽을 수 있도록 하기 위해 폴더 사이에 공백 행을 추가했습니다.

다음 예는 subscription 메시지입니다. <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>

다음 예는 브로커가 생성하는 publication입니다.

<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/21
ac19060_