我想知道是否可以使用list the message_unacknowledged of specific queue?我的意思是,我在1个vhosts中有4-5个队列,但我只想检查特定队列的message_unacknowledged。
下面是我的命令:
C:\Python26\python.exe C:\Python26\rabbitmqadmin.exe --host %host% --port 443 --ssl --user %user% --password %password% list queues messages_unacknowledged这是我只想看到的。enter image description here
谢谢!
发布于 2017-01-20 14:42:26
如果您运行此命令
C:\Python26\python.exe C:\Python26\rabbitmqadmin.exe help subcommands它将显示您可以运行的所有命令。不幸的是,您无法获得特定队列的消息计数。
但是您可以编写一个脚本来访问这个url,它将返回一个包含有关队列的所有详细信息的Json。
http://username:password@queue-server:15672/api/queues/%2f/queue_namehttps://stackoverflow.com/questions/41756910
复制相似问题