[ 
https://issues.apache.org/jira/browse/ARTEMIS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-3671:
------------------------------------
    Description: 
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.

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