[ 
https://issues.apache.org/jira/browse/ARTEMIS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153597#comment-16153597
 ] 

ASF GitHub Bot commented on ARTEMIS-1384:
-----------------------------------------

Github user pgfox commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1506
  
    Updated to filter on any of the columns returned 
    
    ```
    $ ./artemis qstat --user admin --password admin --field ADDRESS --operation 
EQUALS --value test500
    |NAME                     |ADDRESS                  |CONSUMER_COUNT 
|MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |
    |test500                  |test500                  |0              |1000   
       |1000           |0                |0              |
    ```
    
    --queueName=X can still be used as a shortcut to filter by "NAME that 
contains String X"
    
    ```
    $ ./artemis qstat --user admin --password admin --queueName test
    |NAME                     |ADDRESS                  |CONSUMER_COUNT 
|MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |
    |test500                  |test500                  |0              |1000   
       |1000           |0                |0              |
    |test501                  |test501                  |0              |50     
       |50             |0                |0              |
    |test502                  |test502                  |0              |75     
       |75             |0                |0              |
    |test503                  |test503                  |0              |90     
       |90             |0                |0              |
    |test504                  |test504                  |0              |200    
       |200            |0                |0              |
    
    ```



> 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)

Reply via email to