From ad6f63822915463011074c9e5f3ed938b48579f4 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Wed, 12 May 2010 16:17:33 +0200 Subject: s3-docs: Add documentation of the net g_lock subcommand. Karolin --- docs-xml/manpages-3/net.8.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) 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 @@ -1789,6 +1789,46 @@ This example would connect to a computer named XP as the local administrator usi + +G_LOCK + +Manage global locks. + + +G_LOCK DO <replaceable>lockname</replaceable> <replaceable>timeout</replaceable> <replaceable>command</replaceable> + + +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 g_lock.tdb. In setups with CTDB +running, the locking information will be available on all cluster nodes. + + + +LOCKNAME defines the name of the global lock. +TIMEOUT defines the timeout. +COMMAND defines the shell command to execute. + + + + +G_LOCK locks + + +Print a list of all currently existing locknames. + + + + +G_LOCK dump <replaceable>lockname</replaceable> + + +Dump the locking table of a certain global lock. + + + + + HELP [COMMAND] -- cgit