Statistics messages
Statistics messages record information about the activities occurring in an IBM MQ system. An statistics messages is a PCF message that contains a number of PCF structures.
Statistics messages are delivered to the system queue (SYSTEM.ADMIN.STATISTICS.QUEUE) at configured intervals, whenever there is some activity.
Statistics messages are in the following categories:
- MQI statistics messages
- MQI statistics messages contain information relating to the number of MQI calls made during a configured interval. For example, the information can include the number of MQI calls issued by a queue manager.
- Queue statistics messages
- Queue statistics messages contain information relating to the activity of a queue during a configured interval. The information includes the number of messages put on, and retrieved from, the queue, and the total number of bytes processed by a queue.
Each queue statistics message can contain up to 100 records, with each record relating to the activity per queue for which statistics were collected.
Statistics messages are recorded only for local queues. If an application makes an MQI call against an alias queue, the statistics data is recorded against the base queue, and, for a remote queue, the statistics data is recorded against the transmission queue.
- Channel statistics messages
- Channel statistics messages contain information relating to the activity of a channel during a configured interval. For example the information might be the number of messages transferred by the channel, or the number of bytes transferred by the channel.
Each channel statistics message contains up to 100 records, with each record relating to the activity per channel for which statistics were collected.
- Statistics messages format
Statistics messages comprise a set of PCF fields that consist of a message descriptor and message data.- Statistics information collection
Use queue, queue manager, and channel attributes to control the collection of statistics informationParent topic: Accounting and statistics messages
Related reference
- Control MQI statistics collection
- Control queue statistics collection
- Control channel statistics collection