summaryrefslogtreecommitdiff
path: root/docs-xml/manpages-3
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2010-05-12 16:17:33 +0200
committerKarolin Seeger <kseeger@samba.org>2010-05-12 16:17:33 +0200
commitad6f63822915463011074c9e5f3ed938b48579f4 (patch)
tree1cfd9b4915bee4404613f131818fe69aecf45604 /docs-xml/manpages-3
parentda5c49d727150eea7d2a4b83da1a02ac1f26e77c (diff)
downloadsamba-ad6f63822915463011074c9e5f3ed938b48579f4.tar.gz
samba-ad6f63822915463011074c9e5f3ed938b48579f4.tar.bz2
samba-ad6f63822915463011074c9e5f3ed938b48579f4.zip
s3-docs: Add documentation of the net g_lock subcommand.
Karolin
Diffstat (limited to 'docs-xml/manpages-3')
-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 6542c4ffc4..8a0713c00e 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>