发布于 2022-06-28 10:36:11
To monitor the total MQGET/MQPUT operations on MQ QMGR for specific queues, we can use amqsrua command by specifying the queue name.
**The usage of the command is as below:**
amqsrua [-m QMGR-NAME] [-c CLASS-NAME]
[-o object name] [-t TYPE-NAME]
[-p metadata prefix]
[-n publication count]
Example:
* To get MQGET Counts:
amqsrua -m <QMGR Name> -c STATQ -t GET -o <Queue Name> -n1
* To get MQPUT Counts:
amqsrua -m <QMGR Name> -c STATQ -t PUT -o <Queue Name> -n1 https://stackoverflow.com/questions/72540501
复制相似问题