summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2010-05-12 16:17:33 +0200
committerKarolin Seeger <kseeger@samba.org>2010-05-17 09:50:21 +0200
commitc7b8f3e1a79561df1a45e9ca15133f79eb9b3f85 (patch)
treea1a5894f6cfe741733fd56236800de0ecfee6b0e
parentfeae5d09e7dcf1943f6d1d2baceb54df53ecf664 (diff)
downloadsamba-c7b8f3e1a79561df1a45e9ca15133f79eb9b3f85.tar.gz
s3-docs: Add documentation of the net g_lock subcommand.
Karolin (cherry picked from commit ad6f63822915463011074c9e5f3ed938b48579f4) (cherry picked from commit 4b55c32a614f47849f8e6e12eccdd06fbbea5e96)
-rw-r--r--docs-xml/manpages-3/net.8.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml
index 76ef51f496e..fa6cdd01e1d 100644
--- a/docs-xml/manpages-3/net.8.xml
+++ b/docs-xml/manpages-3/net.8.xml
@@ -1790,6 +1790,46 @@ This example would connect to a computer named XP as the local administrator usi
</refsect2>
<refsect2>
+<title>G_LOCK</title>
+
+<para>Manage global locks.</para>
+
+<refsect3>
+<title>G_LOCK DO <replaceable>lockname</replaceable> <replaceable>timeout</replaceable> <replaceable>command</replaceable></title>
+
+<para>
+Execute a shell command under a global lock. This might be useful to define the
+order in which serveral shell commands will be executed. The locking information
+is stored in a file called <filename>g_lock.tdb</filename>. In setups with CTDB
+running, the locking information will be available on all cluster nodes.
+</para>
+
+<itemizedlist>
+<listitem><para><replaceable>LOCKNAME</replaceable> defines the name of the global lock.</para></listitem>
+<listitem><para><replaceable>TIMEOUT</replaceable> defines the timeout.</para></listitem>
+<listitem><para><replaceable>COMMAND</replaceable> defines the shell command to execute.</para></listitem>
+</itemizedlist>
+</refsect3>
+
+<refsect3>
+<title>G_LOCK locks</title>
+
+<para>
+Print a list of all currently existing locknames.
+</para>
+</refsect3>
+
+<refsect3>
+<title>G_LOCK dump <replaceable>lockname</replaceable></title>
+
+<para>
+Dump the locking table of a certain global lock.
+</para>
+</refsect3>
+
+</refsect2>
+
+<refsect2>
<title>HELP [COMMAND]</title>
<para>Gives usage information for the specified command.</para>