summaryrefslogtreecommitdiffstats
path: root/ctdb/doc
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-01-11 14:07:12 +1100
committerAmitay Isaacs <amitay@gmail.com>2013-05-24 14:08:07 +1000
commit87eb70180aad04dc353c008f48b3b5fe652fa87c (patch)
tree5ab199d1124aa3e1ffe48e24071a950229a0cb59 /ctdb/doc
parent77671b9ef5811729a63ba33f2150c9f0e6dbcc4e (diff)
downloadsamba-87eb70180aad04dc353c008f48b3b5fe652fa87c.tar.gz
samba-87eb70180aad04dc353c008f48b3b5fe652fa87c.tar.xz
samba-87eb70180aad04dc353c008f48b3b5fe652fa87c.zip
tools/ctdb: New command runstate to print current runstate
Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit bf20c3ab090f75f59097b36186347cedb1c445d4)
Diffstat (limited to 'ctdb/doc')
-rw-r--r--ctdb/doc/ctdb.1.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index 83d0ac0365f..d1734b7c8fb 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -382,6 +382,23 @@ response from 3 time=0.000114 sec (2 clients)
</screen>
</refsect2>
+ <refsect2><title>runstate</title>
+ <para>
+ Print the runstate of the specified node. Runstates are used
+ to serialise important state transitions in CTDB, particularly
+ during startup.
+ </para>
+ <para>
+ Example: ctdb runstate
+ </para>
+ <para>
+ Example output:
+ </para>
+ <screen format="linespecific">
+RUNNING
+ </screen>
+ </refsect2>
+
<refsect2><title>ifaces</title>
<para>
This command will display the list of network interfaces, which could