Re: [PATCH v3] usertools: telemetry pretty print in interactive mode

2022-10-31 Thread Thomas Monjalon
17/10/2022 11:15, Bruce Richardson: > On Mon, Oct 17, 2022 at 07:41:02AM +, Chengwen Feng wrote: > > Currently, the dpdk-telemetry.py show json in raw format under > > interactive mode, which is not good for human reading. > > > > E.g. The command '/ethdev/xstats,0' will output: > > {"/ethdev/

Re: [PATCH v3] usertools: telemetry pretty print in interactive mode

2022-10-17 Thread Bruce Richardson
On Mon, Oct 17, 2022 at 07:41:02AM +, Chengwen Feng wrote: > Currently, the dpdk-telemetry.py show json in raw format under > interactive mode, 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

[PATCH v3] usertools: telemetry pretty print in interactive mode

2022-10-17 Thread Chengwen Feng
Currently, the dpdk-telemetry.py show json in raw format under interactive mode, 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_