Displaying 3 results from an estimated 3 matches for "print_statistics_machine".
2020 Nov 11
2
Getting CTDB dbstatistics in csv format?
Folks, thank you for being so helpful.
I can't quite figure out the exact command line to get ctdb
dbstatistics for the locking.tdb in CSV format. How do you do this?
[root at use1-samba-server-c25-use1-01 ec2-user]# ctdb -X --separator=,
dbstatistics locking.tdb --help
Usage: [OPTION...]
-d, --debug=STRING debug level
-t, --timelimit=INT timelimit (in seconds)
-n,
2020 Nov 12
0
Getting CTDB dbstatistics in csv format?
...just displays in
> non-machine readable format.
>
> Thoughts?
Unfortunately it appears that machine readable output has never been
implemented in the ctdb tool. :-(
With some seriousness I ask: how is your C programming? :-)
This one would be a fairly simple change to the tool, using
print_statistics_machine() as a model. If that's not something you can
do then I can add it to my todo list.
To get this backported to stable releases it would have to be
considered a bug. To get that process started, can you please open a
bug at https://bugzilla.samba.org/?
Thanks...
peace & happiness,
martin
2020 Nov 12
3
Getting CTDB dbstatistics in csv format?
...e format.
> >
> > Thoughts?
>
> Unfortunately it appears that machine readable output has never been
> implemented in the ctdb tool. :-(
>
> With some seriousness I ask: how is your C programming? :-)
> This one would be a fairly simple change to the tool, using
> print_statistics_machine() as a model. If that's not something you can
> do then I can add it to my todo list.
>
> To get this backported to stable releases it would have to be
> considered a bug. To get that process started, can you please open a
> bug at https://bugzilla.samba.org/?
>
> Thanks....