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

ASF subversion and git services commented on ARTEMIS-3671:
----------------------------------------------------------

Commit c3d0658466d59d3e1f55355090895d735c349d00 in activemq-artemis's branch 
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=c3d0658 ]

ARTEMIS-3671 fix readability of queue stat output


> Fix readability of queue stat output
> ------------------------------------
>
>                 Key: ARTEMIS-3671
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3671
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Say you create a few queues using the following commands:
> {noformat}
> $ ./artemis queue create --name 012345678901234567890123456789a --address 
> 012345678901234567890123456789a --anycast --preserve-on-no-consumers 
> --durable --auto-create-address
> $ ./artemis queue create --name 012345678901234567890123456789b --address 
> 012345678901234567890123456789b --anycast --preserve-on-no-consumers 
> --durable --auto-create-address
> $ ./artemis queue create --name 012345678901234567890123456789c --address 
> 012345678901234567890123456789c --anycast --preserve-on-no-consumers 
> --durable --auto-create-address{noformat}
> Then run this command:
> {noformat}
> $ ./artemis queue stat{noformat}
> This is what the output would be like:
> {noformat}
> |NAME                     |ADDRESS                  |CONSUMER_COUNT 
> |MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED 
> |SCHEDULED_COUNT |ROUTING_TYPE |
> |012345678901234567890123456789a|012345678901234567890123456789a|0            
>   |0             |0              |0                |0              |0         
>       |ANYCAST      |
> |012345678901234567890123456789b|012345678901234567890123456789b|0            
>   |0             |0              |0                |0              |0         
>       |ANYCAST      |
> |012345678901234567890123456789c|012345678901234567890123456789c|0            
>   |0             |0              |0                |0              |0         
>       |ANYCAST      |
> |DLQ                      |DLQ                      |0              |0        
>      |0              |0                |0              |0               
> |ANYCAST      |
> |ExpiryQueue              |ExpiryQueue              |0              |0        
>      |0              |0                |0              |0               
> |ANYCAST      |
> |activemq.management.d88b1e8e-b33b-4419-bda6-611a54a6c111|activemq.management.d88b1e8e-b33b-4419-bda6-611a54a6c111|1
>               |0             |0              |0                |0             
>  |0               |MULTICAST    |{noformat}
> The output is a mess. It's hard to line up the columns to know what's what.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to