[
https://issues.apache.org/jira/browse/ARTEMIS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153618#comment-16153618
]
ASF GitHub Bot commented on ARTEMIS-1384:
-----------------------------------------
Github user jbertram commented on the issue:
https://github.com/apache/activemq-artemis/pull/1506
I think rather than having this as a "top level" command it should be
nested under the resource type, in this case "queue" so that the command would
be:
`./artemis queue stat ...`
I can imagine in the future we'll want to add a CLI 'stat' command for
other resource types like address and maybe consumer.
This is a great addition, BTW. Kudos, @pgfox.
> add a CLI command to display basic queue stats
> -----------------------------------------------
>
> Key: ARTEMIS-1384
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1384
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 2.3.0
> Reporter: Pat Fox
> Priority: Minor
>
> In activemq 5.x there is a command line tool (called dstat) that listed some
> basic stats for queues/topics on the broker (current message count, current
> number of consumers, number of enqueued messages, number of dequeued
> messages).
> This is very useful for troubleshooting as a quick way to check basic
> destination stats or capture information if other management tools are not
> available.
> It would be good to have a similar command in the Artemis CLI that listed
> minimal set of stats for each queue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)