[Samba] Getting CTDB dbstatistics in csv format?

Andrew Walker walker.aj325 at gmail.com
Tue Feb 9 01:53:17 UTC 2021

On Mon, Feb 8, 2021 at 8:50 PM Andrew Bartlett <abartlet at samba.org> wrote:

> On Mon, 2021-02-08 at 20:38 -0500, Andrew Walker via samba wrote:
> >
> > I wrote a patchset fairly recently to generate JSON output for much
> > of the
> > ctdb commands. I'm happy to upstream it if this is something that's
> > of
> > interest to people.
> There is increasing interest in using JSON for our machine readable
> output in Samba, so while I can't speak for Martin I would encourage
> it.
> Also for any AD tools or anything else I can speak for.  The main thing
> is to ensure there are some tests so we don't break it, because folks
> will rely on it.
> Andrew Bartlett
> Okay. I've done JSON output for smbcacls, smbstatus, and ctdb. I can
probably start with the last one (ctdb) and work forward into some of the
others. I'll throw it into gitlab tomorrow and reply with a link to this
message for those interested in testing / playing around with it.

More information about the samba mailing list