Use the mqsichangeflowstats command on Windows, Linux and UNIX systems to control the accumulation of statistics about message flow operation.
>>-mqsichangeflowstats-- BrokerName --+- -a +-------------------> '- -s ' (1) >--+- -e -IntegrationServerName--+- -f -MessageFlow-+-+---------> | '- -j--------------' | '- -g - -j ----------------------------------------' >--+-----------------------+--+--------------+------------------> '- -b -AccountingOrigin-' '- -c -Control-' >--+----------------------+--+---------------+------------------> '- -k -applicationName-' '- -n -NodeData-' >--+-------------------+--+-----+--+-----------------+----------> '- -o -OutputFormat-' '- -r ' '- -t -ThreadData-' >--+------------------+---------------------------------------->< '- -y -libraryName-'
You must specify either -a or -s. If you do not specify one of these arguments you receive a warning message.
You must specify either -e or -g. If you do not specify one of these arguments you receive a warning message.
You must specify either -f or -j. If you do not specify one of these arguments you receive a warning message.
You must specify either -e or -g. If you do not specify one of these arguments you receive a warning message.
You must specify either -f or -j. If you do not specify one of these arguments you receive a warning message.
When you set this parameter, you must also set either the -f (message flow) parameter, or the -j (all message flows) parameter. To collect statistics for a named message flow in a specific application, set the -k and -f parameters. To collect statistics for all message flows in an application, set the -k and -j parameters.
You can use this parameter with the -y (library name) parameter to specify that the message flow is contained in a library referenced by the application.
$SYS/Broker/brokerName/StatisticsAccounting/recordType
/integrationServerLabel/messageFlowLabel
where
recordType is set to Snapshot or Archive,
and broker, integration server, and message flow names are
specified according to the subscriber's requirements.$SYS/Broker/<brokerName>/Statistics/JSON/SnapShot/isName/applications/MyApplication
/libraries/MyLibrary/messageflows/MyFlowName
This results in the clearing out of accounting and statistics data accumulated so far for this interval, and restarts collection from this point. All archive data for all flows in the integration server, or groups, is reset.
The archive interval timer is only reset if the -v option (statistics archive interval) of mqsicreatebroker or mqsichangebroker is non zero.
That is, the interval timer is set only if the internal interval notification mechanism is being used, and not an external method.
You must specify either -a or -s. If you do not specify one of these arguments you receive a warning message.
When you set this parameter, you must also set either the -f (message flow) parameter, or the -j (all message flows) parameter. To collect statistics for a named message flow in a specific library, set the -k and -f parameters. To collect statistics for all message flows in a library, set the -k and -j parameters.
mqsichangeflowstats BrokerA -s -g -j -b none -c active
mqsichangeflowstats BrokerA -s -g -j -c active -o xml,json
mqsichangeflowstats BrokerA -a -e EGRP2 -f MyFlow1 -c inactive -t basic
mqsichangeflowstats BrokerA -s -g -j -c inactive