From: Martin Schwenke Date: Wed, 12 Feb 2020 23:09:08 +0000 (+1100) Subject: ctdb-docs: Provide example commands for "ctdb event ..." X-Git-Tag: ldb-2.1.1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4de1e3207ba8e68e6101f5cd94cf18144fd5ed8f;p=thirdparty%2Fsamba.git ctdb-docs: Provide example commands for "ctdb event ..." The example output doesn't tell a user what command generated it. Adding the command makes the examples much more useful. Reported-by: Stefan Kania Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Feb 18 04:22:56 UTC 2020 on sn-devel-184 --- diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml index a204583b62c..fe2b675ff2c 100644 --- a/ctdb/doc/ctdb.1.xml +++ b/ctdb/doc/ctdb.1.xml @@ -646,9 +646,10 @@ Interface[2]: Name:eth5 Link:up References:2 (active) for each script. - Example output: + Example +# ctdb event status legacy monitor 00.ctdb OK 0.014 Sat Dec 17 19:39:11 2016 01.reclock OK 0.013 Sat Dec 17 19:39:11 2016 05.system OK 0.029 Sat Dec 17 19:39:11 2016 @@ -684,9 +685,10 @@ Interface[2]: Name:eth5 Link:up References:2 (active) provided by CTDB. - Example output: + Example +# ctdb event script list legacy * 00.ctdb * 01.reclock * 05.system