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

ASF subversion and git services commented on DISPATCH-1186:
-----------------------------------------------------------

Commit 7a10a4d467d9cd1d7a1d75467266cfb01e770b86 in qpid-dispatch's branch 
refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=7a10a4d ]

DISPATCH-1186: Add qdstat option to get CSV format for tables

Add a "--csv" switch to qdstat command line to apply to display tables.

|| CSV character  || value        ||
|  separator      |  comma        |
|  string quote   |  double quote |

All non-blank values in headings and tables are output as quoted strings.
Blank values in tables are not quoted. The output shall be consecutive
separator commas.

This option removes ambiguity for certain tables (like 'qdstat -l') where
columns (like peer and phs) have no entry, and headers (like 'conn id') have
spaces in their names.


> qdstat to include csv output format
> -----------------------------------
>
>                 Key: DISPATCH-1186
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1186
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Management Agent
>    Affects Versions: 1.4.1
>            Reporter: Charles E. Rolke
>            Assignee: Ken Giusti
>            Priority: Major
>
> qdstat text output is difficult to manage after a cut and paste. For 
> instance, _qdstat -l_  shows some rows where the columns are blank. This 
> makes it difficult to reconstruct the original display given just the body 
> text. See _qdstat -l_ example in 
> [https://raw.githubusercontent.com/apache/qpid-dispatch/master/docs/books/user-guide/monitoring-using-qdstat.adoc]
> Even having a two-word column title "conn id" adds confusion.
> With a CSV format and quoted strings this table could be communicated through 
> email, chat, or Jira with authority. Readers would not have to guess about 
> which data goes in which columns.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to