Re: [PATCH v2] usertools: telemetry json support pretty print

2022-10-17 Thread fengchengwen
d >>>>>> Sent: Friday 14 October 2022 10:50 >>>>>> To: Chengwen Feng >>>>>> Cc: tho...@monjalon.net; dev@dpdk.org; Power, Ciara >>>>>> >>>>>> Subject: Re: [PATCH v2] usertools: telemetry json support >> pretty print

RE: [PATCH v2] usertools: telemetry json support pretty print

2022-10-14 Thread Morten Brørup
o: Chengwen Feng > > > > > Cc: tho...@monjalon.net; dev@dpdk.org; Power, Ciara > > > > > > > > > > Subject: Re: [PATCH v2] usertools: telemetry json support > pretty print > > > > > > > > > > On Fri, Oct 14, 2022 at 5:31 AM Chengw

Re: [PATCH v2] usertools: telemetry json support pretty print

2022-10-14 Thread Bruce Richardson
nal Message- > > > > From: David Marchand > > > > Sent: Friday 14 October 2022 10:50 > > > > To: Chengwen Feng > > > > Cc: tho...@monjalon.net; dev@dpdk.org; Power, Ciara > > > > > > > > Subject: Re: [PATCH v2] usertoo

Re: [PATCH v2] usertools: telemetry json support pretty print

2022-10-14 Thread Stephen Hemminger
:50 > > > To: Chengwen Feng > > > Cc: tho...@monjalon.net; dev@dpdk.org; Power, Ciara > > > > > > Subject: Re: [PATCH v2] usertools: telemetry json support pretty print > > > > > > On Fri, Oct 14, 2022 at 5:31 AM Chengwen Feng > > > wrote:

Re: [PATCH v2] usertools: telemetry json support pretty print

2022-10-14 Thread Bruce Richardson
gt; > > Subject: Re: [PATCH v2] usertools: telemetry json support pretty print > > > > On Fri, Oct 14, 2022 at 5:31 AM Chengwen Feng > > wrote: > > > > > > Currently, the dpdk-telemetry.py show json in raw format, which is not > > > good for human

RE: [PATCH v2] usertools: telemetry json support pretty print

2022-10-14 Thread Power, Ciara
Hi Chengwen, > -Original Message- > From: David Marchand > Sent: Friday 14 October 2022 10:50 > To: Chengwen Feng > Cc: tho...@monjalon.net; dev@dpdk.org; Power, Ciara > > Subject: Re: [PATCH v2] usertools: telemetry json support pretty print > > On F

Re: [PATCH v2] usertools: telemetry json support pretty print

2022-10-14 Thread David Marchand
On Fri, Oct 14, 2022 at 5:31 AM Chengwen Feng wrote: > > Currently, the dpdk-telemetry.py show json in raw format, which is not > good for human reading. > > E.g. The command '/ethdev/xstats,0' will output: > {"/ethdev/xstats": {"rx_good_packets": 0, "tx_good_packets": 0, > "rx_good_bytes": 0, "tx

[PATCH v2] usertools: telemetry json support pretty print

2022-10-13 Thread Chengwen Feng
Currently, the dpdk-telemetry.py show json in raw format, which is not good for human reading. E.g. The command '/ethdev/xstats,0' will output: {"/ethdev/xstats": {"rx_good_packets": 0, "tx_good_packets": 0, "rx_good_bytes": 0, "tx_good_bytes": 0, "rx_missed_errors": 0, "rx_errors": 0, "tx_errors"