All of lore.kernel.org
 help / color / mirror / Atom feed
* [ndctl PATCH 0/2] Be kind to humans
@ 2017-07-07 20:37 Dan Williams
  2017-07-07 20:37 ` [ndctl PATCH 1/2] ndctl, list: convert json control flags to bit-flags Dan Williams
  2017-07-07 20:37 ` [ndctl PATCH 2/2] ndctl, daxctl, list: make terminal output human readable by default Dan Williams
  0 siblings, 2 replies; 11+ messages in thread
From: Dan Williams @ 2017-07-07 20:37 UTC (permalink / raw)
  To: linux-nvdimm; +Cc: Yasunori Goto

Prompted by Yasunori's patch to add a few more fields to the "ndctl list
--dimm" output we realized it would be nice to have listings be more
user-friendly by default. These patches take advantage of json-c's
ability to specify a custom object serializer so that we can select
'human' vs 'machine' friendly output.

This of course opens the door to things like colorized output to reflect
the health state of a dimm.

---

Dan Williams (2):
      ndctl, list: convert json control flags to bit-flags
      ndctl, daxctl, list: make terminal output human readable by default


 Documentation/daxctl/daxctl-list.txt |   21 ++++
 Documentation/ndctl/ndctl-list.txt   |   30 ++++++
 daxctl/list.c                        |   36 +++++++-
 ndctl/list.c                         |   59 ++++++++++--
 ndctl/namespace.c                    |    6 +
 util/json.c                          |  162 ++++++++++++++++++++++++++--------
 util/json.h                          |   25 ++++-
 7 files changed, 279 insertions(+), 60 deletions(-)
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-07-11  5:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-07 20:37 [ndctl PATCH 0/2] Be kind to humans Dan Williams
2017-07-07 20:37 ` [ndctl PATCH 1/2] ndctl, list: convert json control flags to bit-flags Dan Williams
2017-07-07 20:37 ` [ndctl PATCH 2/2] ndctl, daxctl, list: make terminal output human readable by default Dan Williams
2017-07-10  6:56   ` Yasunori Goto
2017-07-10 18:26     ` [ndctl PATCH v2] ndctl, daxctl, list: add --human option for number formatting Dan Williams
2017-07-10 18:42       ` Linda Knippers
2017-07-10 19:47         ` Dan Williams
2017-07-10 19:56           ` Dan Williams
2017-07-10 20:11             ` Linda Knippers
2017-07-10 20:14               ` [ndctl PATCH v3] " Dan Williams
2017-07-11  5:06                 ` Yasunori Goto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.