参考IBM MQ官网:https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.pro.doc/q001010_.htm
配置统计打开开关
to enable statistics information collection for the queue, Q1, use the following MQSC command:
ALTER QLOCAL(Q1) STATQ(ON)
To enable statistics information collection for all queues that specify the queue attribute STATQ as QMGR, use the following MQSC command:
ALTER QMGR STATQ(ON)
不使用要状态配置
ALTER QLOCAL(Q1) STATQ(OFF)
ALTER QMGR STATQ(OFF)
配置统计周期
ALTER QMGR STATINT(3) //3秒打一条记录到队列
显示 事件统计队列监控工具
Use the amqsmon sample program to display in a readable format the information contained within accounting and statistics messages. The amqsmon program reads accounting messages

本文介绍了如何在IBM WebSphere MQ中开启和关闭队列统计信息收集,设置统计周期,并展示了如何使用amqsmon工具查看统计信息,包括队列深度、消息发送与接收数量、TPS等关键指标。
3994

被折叠的 条评论
为什么被折叠?



