Signed-off-by: Martin Schwenke <martin@meltin.net>
authorMartin Schwenke <martin@meltin.net>
Fri, 11 Jul 2008 05:05:41 +0000 (15:05 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 11 Jul 2008 05:06:30 +0000 (15:06 +1000)
Minor updates to doc/onnode.1.xml.

doc/onnode.1
doc/onnode.1.html
doc/onnode.1.xml

index 9923867989abdf213424e90c3348c89e655e63cc..0ebf532751607eb06746bbd2166e0f68854efc51 100644 (file)
@@ -1,12 +1,12 @@
 .\"     Title: onnode
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
-.\"      Date: 07/10/2008
+.\"      Date: 07/11/2008
 .\"    Manual: [FIXME: manual]
 .\"    Source: [FIXME: source]
 .\"  Language: English
 .\"
-.TH "ONNODE" "1" "07/10/2008" "[FIXME: source]" "[FIXME: manual]"
+.TH "ONNODE" "1" "07/11/2008" "[FIXME: source]" "[FIXME: manual]"
 .\" -----------------------------------------------------------------
 .\" * (re)Define some macros
 .\" -----------------------------------------------------------------
@@ -184,12 +184,12 @@ The COMMAND can be any shell command\&. The onnode utility uses ssh or rsh to co
 .PP
 \-c
 .RS 4
-Execute COMMAND in the current working directory on each node\&.
+Execute COMMAND in the current working directory on the specified nodes\&.
 .RE
 .PP
 \-p
 .RS 4
-Run commands in parallel on the specified nodes\&. In this mode
+Run COMMAND in parallel on the specified nodes\&. The default is to run COMMAND sequentially on each node\&.
 .RE
 .PP
 \-q
index 1e9ca3eb7e4b8d44cfbdf2d322c906e48ef9e463..11c80d789503ce189cb5f1853a72f1f104cbf892 100644 (file)
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>onnode</title><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="onnode.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>onnode &#8212; run commands on ctdb nodes</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">onnode [OPTION] ... NODES COMMAND ...</code> </p></div></div><div class="refsect1" lang="en"><a name="id2507976"></a><h2>DESCRIPTION</h2><p>
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>onnode</title><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="onnode.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>onnode &#8212; run commands on ctdb nodes</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">onnode [OPTION] ... NODES COMMAND ...</code> </p></div></div><div class="refsect1" lang="en"><a name="id2507974"></a><h2>DESCRIPTION</h2><p>
       onnode is a utility to run commands on a specific node of a CTDB
       cluster, or on all nodes.
     </p><p>
     </p><p>
       The COMMAND can be any shell command. The onnode utility uses
       ssh or rsh to connect to the remote nodes and run the command.
-      </p></div><div class="refsect1" lang="en"><a name="id2508002"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-c</span></dt><dd><p>
-            Execute COMMAND in the current working directory on each
-            node.
+      </p></div><div class="refsect1" lang="en"><a name="id2508000"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-c</span></dt><dd><p>
+            Execute COMMAND in the current working directory on the
+            specified nodes.
          </p></dd><dt><span class="term">-p</span></dt><dd><p>
-            Run commands in parallel on the specified nodes.  In this
-            mode 
+            Run COMMAND in parallel on the specified nodes.  The
+            default is to run COMMAND sequentially on each node.
          </p></dd><dt><span class="term">-q</span></dt><dd><p>
             Do not print node addresses.  Normally, onnode prints
             informational node addresses if more than one node is
@@ -28,7 +28,7 @@
             more than one node is specified.
          </p></dd><dt><span class="term">-h, --help</span></dt><dd><p>
             Show a short usage guide.
-         </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2511603"></a><h2>EXAMPLES</h2><p>
+         </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2511602"></a><h2>EXAMPLES</h2><p>
       The following command would show the process ID of ctdb on all nodes
     </p><pre class="screen">
       onnode all pidof ctdbd
@@ -56,7 +56,7 @@
             use rsh instead of ssh.
          </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2511691"></a><h2>SEE ALSO</h2><p>
       ctdbd(1), ctdb(1), <a class="ulink" href="http://ctdb.samba.org/" target="_top">http://ctdb.samba.org/</a>
-    </p></div><div class="refsect1" lang="en"><a name="id2511704"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
+    </p></div><div class="refsect1" lang="en"><a name="id2511703"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
 Copyright (C) Andrew Tridgell 2007<br>
 Copyright (C) Ronnie sahlberg 2007<br>
 Copyright (C) Martin Schwenke 2008<br>
index 7bea709b65da05ff764e7325de0ebfc2dd3c0cfe..24c7fa84a79579ea770cedb86361259e9cd33fee 100644 (file)
@@ -45,8 +45,8 @@
       <varlistentry><term>-c</term>
         <listitem>
           <para>
-            Execute COMMAND in the current working directory on each
-            node.
+            Execute COMMAND in the current working directory on the
+            specified nodes.
          </para>
         </listitem>
       </varlistentry>
@@ -54,8 +54,8 @@
       <varlistentry><term>-p</term>
         <listitem>
           <para>
-            Run commands in parallel on the specified nodes.  In this
-            mode 
+            Run COMMAND in parallel on the specified nodes.  The
+            default is to run COMMAND sequentially on each node.
          </para>
         </listitem>
       </varlistentry>