292 lines
7.6 KiB
Diff
292 lines
7.6 KiB
Diff
|
From 1778440c0e9f525ccd4bd401f7354d61d6957265 Mon Sep 17 00:00:00 2001
|
||
|
Date: Wed, 2 Aug 2017 19:18:10 +0300
|
||
|
Subject: [PATCH] pssh: Rename pssh utilities in manpages
|
||
|
|
||
|
---
|
||
|
man/man1/pnuke.1 | 16 ++++++++--------
|
||
|
man/man1/prsync.1 | 16 ++++++++--------
|
||
|
man/man1/pscp.1 | 16 ++++++++--------
|
||
|
man/man1/pslurp.1 | 16 ++++++++--------
|
||
|
man/man1/pssh.1 | 34 +++++++++++++++++-----------------
|
||
|
5 files changed, 49 insertions(+), 49 deletions(-)
|
||
|
|
||
|
diff --git a/man/man1/pnuke.1 b/man/man1/pnuke.1
|
||
|
index 98630a8..1d4ee3c 100644
|
||
|
--- a/man/man1/pnuke.1
|
||
|
+++ b/man/man1/pnuke.1
|
||
|
@@ -1,12 +1,12 @@
|
||
|
.\" Man page for pssh. See "man 7 man" and "man man-pages" for formatting info.
|
||
|
-.TH pnuke 1 "January 24, 2012"
|
||
|
+.TH parallel-nuke 1 "January 24, 2012"
|
||
|
|
||
|
.SH NAME
|
||
|
-pnuke \(em parallel process kill program
|
||
|
+parallel-nuke \(em parallel process kill program
|
||
|
|
||
|
|
||
|
.SH SYNOPSIS
|
||
|
-.B pnuke
|
||
|
+.B parallel-nuke
|
||
|
.RB [ \-vA ]
|
||
|
.RB [ \-h
|
||
|
.IR hosts_file ]
|
||
|
@@ -33,7 +33,7 @@ pnuke \(em parallel process kill program
|
||
|
|
||
|
.SH DESCRIPTION
|
||
|
.PP
|
||
|
-.B pnuke
|
||
|
+.B parallel-nuke
|
||
|
is a program for killing processes in parallel on a number of hosts. It
|
||
|
provides features such as passing a password to ssh, saving output to files,
|
||
|
and timing out.
|
||
|
@@ -262,7 +262,7 @@ http://code.google.com/p/parallel-ssh/
|
||
|
.SH SEE ALSO
|
||
|
.BR ssh (1),
|
||
|
.BR ssh_config(5),
|
||
|
-.BR pssh (1),
|
||
|
-.BR pscp (1),
|
||
|
-.BR prsync (1),
|
||
|
-.BR pslurp (1),
|
||
|
+.BR parallel-ssh (1),
|
||
|
+.BR parallel-scp (1),
|
||
|
+.BR parallel-rsync (1),
|
||
|
+.BR parallel-slurp (1),
|
||
|
diff --git a/man/man1/prsync.1 b/man/man1/prsync.1
|
||
|
index 8bf18d8..8279e7b 100644
|
||
|
--- a/man/man1/prsync.1
|
||
|
+++ b/man/man1/prsync.1
|
||
|
@@ -1,12 +1,12 @@
|
||
|
.\" Man page for prsync. See "man 7 man" and "man man-pages" for formatting info.
|
||
|
-.TH prsync 1 "January 24, 2012"
|
||
|
+.TH parallel-rsync 1 "January 24, 2012"
|
||
|
|
||
|
.SH NAME
|
||
|
-prsync \(em parallel process kill program
|
||
|
+parallel-rsync \(em parallel process kill program
|
||
|
|
||
|
|
||
|
.SH SYNOPSIS
|
||
|
-.B prsync
|
||
|
+.B parallel-rsync
|
||
|
.RB [ \-vAraz ]
|
||
|
.RB [ \-h
|
||
|
.IR hosts_file ]
|
||
|
@@ -36,7 +36,7 @@ prsync \(em parallel process kill program
|
||
|
|
||
|
.SH DESCRIPTION
|
||
|
.PP
|
||
|
-.B prsync
|
||
|
+.B parallel-rsync
|
||
|
is a program for copying files in parallel to a number of hosts. It provides
|
||
|
features such as passing a password to ssh, saving output to files, and timing
|
||
|
out.
|
||
|
@@ -293,7 +293,7 @@ http://code.google.com/p/parallel-ssh/
|
||
|
.BR rsync (1),
|
||
|
.BR ssh (1),
|
||
|
.BR ssh_config(5),
|
||
|
-.BR pssh (1),
|
||
|
-.BR prsync (1),
|
||
|
-.BR pslurp (1),
|
||
|
-.BR pnuke (1),
|
||
|
+.BR parallel-ssh (1),
|
||
|
+.BR parallel-rsync (1),
|
||
|
+.BR parallel-slurp (1),
|
||
|
+.BR parallel-nuke (1),
|
||
|
diff --git a/man/man1/pscp.1 b/man/man1/pscp.1
|
||
|
index d517c75..cd311bd 100644
|
||
|
--- a/man/man1/pscp.1
|
||
|
+++ b/man/man1/pscp.1
|
||
|
@@ -1,12 +1,12 @@
|
||
|
.\" Man page for pscp. See "man 7 man" and "man man-pages" for formatting info.
|
||
|
-.TH pscp 1 "January 24, 2012"
|
||
|
+.TH parallel-scp 1 "January 24, 2012"
|
||
|
|
||
|
.SH NAME
|
||
|
-pscp \(em parallel process kill program
|
||
|
+parallel-scp \(em parallel process kill program
|
||
|
|
||
|
|
||
|
.SH SYNOPSIS
|
||
|
-.B pscp
|
||
|
+.B parallel-scp
|
||
|
.RB [ \-vAr ]
|
||
|
.RB [ \-h
|
||
|
.IR hosts_file ]
|
||
|
@@ -34,7 +34,7 @@ pscp \(em parallel process kill program
|
||
|
|
||
|
.SH DESCRIPTION
|
||
|
.PP
|
||
|
-.B pscp
|
||
|
+.B parallel-scp
|
||
|
is a program for copying files in parallel to a number of hosts. It provides
|
||
|
features such as passing a password to scp, saving output to files, and timing
|
||
|
out.
|
||
|
@@ -265,7 +265,7 @@ http://code.google.com/p/parallel-ssh/
|
||
|
.SH SEE ALSO
|
||
|
.BR ssh (1),
|
||
|
.BR ssh_config(5),
|
||
|
-.BR pssh (1),
|
||
|
-.BR prsync (1),
|
||
|
-.BR pslurp (1),
|
||
|
-.BR pnuke (1),
|
||
|
+.BR parallel-ssh (1),
|
||
|
+.BR parallel-rsync (1),
|
||
|
+.BR parallel-slurp (1),
|
||
|
+.BR parallel-nuke (1),
|
||
|
diff --git a/man/man1/pslurp.1 b/man/man1/pslurp.1
|
||
|
index 6efb70a..66be2ed 100644
|
||
|
--- a/man/man1/pslurp.1
|
||
|
+++ b/man/man1/pslurp.1
|
||
|
@@ -1,12 +1,12 @@
|
||
|
.\" Man page for pslurp. See "man 7 man" and "man man-pages" for formatting info.
|
||
|
-.TH pslurp 1 "January 24, 2012"
|
||
|
+.TH parallel-slurp 1 "January 24, 2012"
|
||
|
|
||
|
.SH NAME
|
||
|
-pslurp \(em parallel process kill program
|
||
|
+parallel-slurp \(em parallel process kill program
|
||
|
|
||
|
|
||
|
.SH SYNOPSIS
|
||
|
-.B pslurp
|
||
|
+.B parallel-slurp
|
||
|
.RB [ \-vAr ]
|
||
|
.RB [ \-h
|
||
|
.IR hosts_file ]
|
||
|
@@ -36,7 +36,7 @@ pslurp \(em parallel process kill program
|
||
|
|
||
|
.SH DESCRIPTION
|
||
|
.PP
|
||
|
-.B pslurp
|
||
|
+.B parallel-slurp
|
||
|
is a program for copying files in parallel from a number of hosts. It
|
||
|
provides features such as passing a password to scp, saving output to files,
|
||
|
and timing out.
|
||
|
@@ -274,7 +274,7 @@ http://code.google.com/p/parallel-ssh/
|
||
|
.SH SEE ALSO
|
||
|
.BR ssh (1),
|
||
|
.BR ssh_config(5),
|
||
|
-.BR pssh (1),
|
||
|
-.BR pscp (1),
|
||
|
-.BR prsync (1),
|
||
|
-.BR pnuke (1),
|
||
|
+.BR parallel-ssh (1),
|
||
|
+.BR parallel-scp (1),
|
||
|
+.BR parallel-rsync (1),
|
||
|
+.BR parallel-nuke (1),
|
||
|
diff --git a/man/man1/pssh.1 b/man/man1/pssh.1
|
||
|
index 84efdbd..2507daf 100644
|
||
|
--- a/man/man1/pssh.1
|
||
|
+++ b/man/man1/pssh.1
|
||
|
@@ -1,12 +1,12 @@
|
||
|
.\" Man page for pssh. See "man 7 man" and "man man-pages" for formatting info.
|
||
|
-.TH pssh 1 "January 24, 2012"
|
||
|
+.TH parallel-ssh 1 "January 24, 2012"
|
||
|
|
||
|
.SH NAME
|
||
|
-pssh \(em parallel ssh program
|
||
|
+parallel-ssh \(em parallel ssh program
|
||
|
|
||
|
|
||
|
.SH SYNOPSIS
|
||
|
-.B pssh
|
||
|
+.B parallel-ssh
|
||
|
.RB [ \-vAiIP ]
|
||
|
.RB [ \-h
|
||
|
.IR hosts_file ]
|
||
|
@@ -30,7 +30,7 @@ pssh \(em parallel ssh program
|
||
|
.IR arg ]
|
||
|
.I command ...
|
||
|
|
||
|
-.B pssh \-I
|
||
|
+.B parallel-ssh \-I
|
||
|
.RB [ \-vAiIP ]
|
||
|
.RB [ \-h
|
||
|
.IR hosts_file ]
|
||
|
@@ -58,7 +58,7 @@ pssh \(em parallel ssh program
|
||
|
|
||
|
.SH DESCRIPTION
|
||
|
.PP
|
||
|
-.B pssh
|
||
|
+.B parallel-ssh
|
||
|
is a program for executing ssh in parallel on a number of hosts. It provides
|
||
|
features such as sending input to all of the processes, passing a password
|
||
|
to ssh, saving output to files, and timing out.
|
||
|
@@ -260,25 +260,25 @@ output from different hosts are interleaved.
|
||
|
.PP
|
||
|
Connect to host1 and host2, and print "hello, world" from each:
|
||
|
.RS
|
||
|
-pssh -i -H "host1 host2" echo "hello, world"
|
||
|
+parallel-ssh -i -H "host1 host2" echo "hello, world"
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
Print "hello, world" from each host specified in the file hosts.txt:
|
||
|
.RS
|
||
|
-pssh -i -h hosts.txt echo "hello, world"
|
||
|
+parallel-ssh -i -h hosts.txt echo "hello, world"
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
Run a command as root with a prompt for the root password:
|
||
|
.RS
|
||
|
-pssh -i -h hosts.txt -A -l root echo hi
|
||
|
+parallel-ssh -i -h hosts.txt -A -l root echo hi
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
Run a long command without timing out:
|
||
|
.RS
|
||
|
-pssh -i -h hosts.txt -t 0 sleep 10000
|
||
|
+parallel-ssh -i -h hosts.txt -t 0 sleep 10000
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
@@ -286,19 +286,19 @@ If the file hosts.txt has a large number of entries, say 100, then the
|
||
|
parallelism option may also be set to 100 to ensure that the commands are run
|
||
|
concurrently:
|
||
|
.RS
|
||
|
-pssh -i -h hosts.txt -p 100 -t 0 sleep 10000
|
||
|
+parallel-ssh -i -h hosts.txt -p 100 -t 0 sleep 10000
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
Run a command without checking or saving host keys:
|
||
|
.RS
|
||
|
-pssh -i -H host1 -H host2 -x "-O StrictHostKeyChecking=no -O UserKnownHostsFile=/dev/null -O GlobalKnownHostsFile=/dev/null" echo hi
|
||
|
+parallel-ssh -i -H host1 -H host2 -x "-O StrictHostKeyChecking=no -O UserKnownHostsFile=/dev/null -O GlobalKnownHostsFile=/dev/null" echo hi
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
Print the node number for each connection (this will print 0, 1, and 2):
|
||
|
.RS
|
||
|
-pssh -i -H host1 -H host1 -H host2 'echo $PSSH_NODENUM'
|
||
|
+parallel-ssh -i -H host1 -H host1 -H host2 'echo $PSSH_NODENUM'
|
||
|
.RE
|
||
|
|
||
|
.SH TIPS
|
||
|
@@ -307,7 +307,7 @@ pssh -i -H host1 -H host1 -H host2 'echo $PSSH_NODENUM'
|
||
|
If you have a set of hosts that you connect to frequently with specific
|
||
|
options, it may be helpful to create an alias such as:
|
||
|
.RS
|
||
|
-alias pssh_servers="pssh -h /path/to/server_list.txt -l root -A"
|
||
|
+alias pssh_servers="parallel-ssh -h /path/to/server_list.txt -l root -A"
|
||
|
.RE
|
||
|
|
||
|
.PP
|
||
|
@@ -362,7 +362,7 @@ http://code.google.com/p/parallel-ssh/
|
||
|
.SH SEE ALSO
|
||
|
.BR ssh (1),
|
||
|
.BR ssh_config(5),
|
||
|
-.BR pscp (1),
|
||
|
-.BR prsync (1),
|
||
|
-.BR pslurp (1),
|
||
|
-.BR pnuke (1),
|
||
|
+.BR parallel-scp (1),
|
||
|
+.BR parallel-rsync (1),
|
||
|
+.BR parallel-slurp (1),
|
||
|
+.BR parallel-nuke (1),
|
||
|
--
|
||
|
2.16.4
|
||
|
|