See information about the latest product version
Message flow accounting and statistics collection options
The options that you specify for message flow accounting and statistics collection determine what information is collected. You can request two types of data collection, depending on the user interface that you are using. You can use the WebSphere® Message Broker Explorer to collect and view snapshot data, or you can use the mqsichangeflowstats command to collect snapshot and archive data.
- Snapshot data is collected for an interval of approximately 20 seconds. The exact length of the interval depends on system loading and the level of current broker activity. You cannot modify the length of time for which snapshot data is collected. At the end of this interval, the recorded statistics are written to the output destination and the interval is restarted.
- Archive data is collected for an
interval that you have set for the broker on the mqsicreatebroker or mqsichangebroker command. You
can specify an interval in the range 1 through 43200 minutes; the
default value is 60 minutes. At the end of this interval, the
recorded statistics are written to the output destination and the
interval is restarted.
An interval ends and restarts when any of the following events occur, to preserve the integrity of the data that has been collected prior to the event:
- The message flow is redeployed
- The set of statistics data to be collected is modified
- The broker is shut down
On z/OS®, you can set the command parameter to 0, which means that the interval is controlled by an external timer mechanism. This support is provided by the Event Notification Facility (ENF), which you can use instead of the broker command parameter if you want to coordinate the expiration of this timer with other system events.
In the WebSphere Message Broker Explorer you can request snapshot data collection. Alternatively, by using the mqsichangeflowstats command, you can specify snapshot data collection, archive data collection, or both. You can activate snapshot data collection while archive data collection is active. The data recorded in both reports is the same, but is collected for different intervals. If you activate both snapshot and archive data collection, be careful not to combine information from the two different reports, because you might count information twice.
You can view statistics data as it is generated, using the Broker Statistics view in the WebSphere Message Broker Explorer.