summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctdb/doc/ctdb.1.xml6
-rw-r--r--ctdb/tools/ctdb.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index a88ecc7644..a57c67faa3 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -1174,6 +1174,12 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/var/ctdb/persist
</para>
</refsect2>
+ <refsect2><title>cattdb &lt;dbname&gt;</title>
+ <para>
+ This command will dump the content of the local TDB database to the screen. This is a debugging command.
+ </para>
+ </refsect2>
+
<refsect2><title>dumpdbbackup &lt;backup-file&gt;</title>
<para>
This command will dump the content of database backup to the screen
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index 9443eca9bd..fc281e48e5 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -5020,8 +5020,8 @@ static const struct {
{ "process-exists", control_process_exists, true, false, "check if a process exists on a node", "<pid>"},
{ "getdbmap", control_getdbmap, true, false, "show the database map" },
{ "getdbstatus", control_getdbstatus, true, false, "show the status of a database", "<dbname>" },
- { "catdb", control_catdb, true, false, "dump a database" , "<dbname>"},
- { "cattdb", control_cattdb, true, false, "dump a database" , "<dbname>"},
+ { "catdb", control_catdb, true, false, "dump a ctdb database" , "<dbname>"},
+ { "cattdb", control_cattdb, true, false, "dump a local tdb database" , "<dbname>"},
{ "getmonmode", control_getmonmode, true, false, "show monitoring mode" },
{ "getcapabilities", control_getcapabilities, true, false, "show node capabilities" },
{ "pnn", control_pnn, true, false, "show the pnn of the currnet node" },