| Summary: | qpid-stat does not allow to combine different options in one run (qpid-stat -b -q) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Frantisek Reznicek <freznice> |
| Component: | qpid-tools | Assignee: | messaging-bugs <messaging-bugs> |
| Status: | NEW --- | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | jross |
| Target Milestone: | --- | Keywords: | Improvement |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: qpid-stat does not allow to combine different options in one run, for instance commands: qpid-stat -b -q -c qpid-stat -bqc are treated as qpid-stat -c qpid-stat usage does not restrict usage to one display option at one time. There are two possible ways how to fix it. a] preferable - change behavior qpid-stat should handle multiple display options. b] optional - update help qpid-stat -h should instruct user to use just one display option at time Version-Release number of selected component (if applicable): qpid-tools-0.14-1 How reproducible: 100% Steps to Reproduce: 1. qpid-stat -b -q -c 2. see connection list but not others Actual results: qpid-stat is not able to provide more than one display statistic type at a time. Expected results: qpid-stat should be able to provide more than one display statistic type at a time. Additional info: [root@dhcp-37-178 ~]# qpid-stat -bqc Connections client-addr cproc cpid auth connected idle msgIn msgOut ================================================================================ [::1]:5672-[::1]:52564 anonymous 0s 0s 214 235 [root@dhcp-37-178 ~]# [root@dhcp-37-178 ~]# qpid-stat -b -q -c Connections client-addr cproc cpid auth connected idle msgIn msgOut ================================================================================ [::1]:5672-[::1]:52565 anonymous 0s 0s 214 235 [root@dhcp-37-178 ~]# qpid-stat -bcq Queues queue dur autoDel excl msg msgIn msgOut bytes bytesIn bytesOut cons bind ====================================================================================================================================== qmfc-v2-ui-dhcp-37-178....21195.1 Y Y 0 0 0 0 0 0 1 1 reply-dhcp-37-178....21195.1 Y Y 0 61 61 0 24.9k 24.9k 1 2 qmfc-v2-dhcp-37-178....21195.1 Y Y 0 11 11 0 8.86k 8.86k 1 2 topic-dhcp-37-178....21195.1 Y Y 0 0 0 0 0 0 1 4 qmfc-v2-hb-dhcp-37-178....21195.1 Y Y 0 0 0 0 0 0 1 2