[
https://issues.apache.org/jira/browse/ARTEMIS-3671?focusedWorklogId=724160&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-724160
]
ASF GitHub Bot logged work on ARTEMIS-3671:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 09/Feb/22 23:29
Start Date: 09/Feb/22 23:29
Worklog Time Spent: 10m
Work Description: clebertsuconic merged pull request #3942:
URL: https://github.com/apache/activemq-artemis/pull/3942
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 724160)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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)