Unix and Linux Discussions Tagged with parallel |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
5,742 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
6,250 |
Shell Programming and Scripting |
|
|
|
5 |
6,162 |
Shell Programming and Scripting |
|
|
|
2 |
4,703 |
Shell Programming and Scripting |
|
|
|
1 |
1,511 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
3,613 |
High Performance Computing |
|
|
|
3 |
3,056 |
Shell Programming and Scripting |
|
|
|
5 |
1,995 |
Shell Programming and Scripting |
|
|
|
1 |
6,546 |
Shell Programming and Scripting |
|
|
|
1 |
2,059 |
Shell Programming and Scripting |
|
|
|
4 |
9,459 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,265 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
2,461 |
Shell Programming and Scripting |
|
|
|
2 |
2,902 |
Shell Programming and Scripting |
|
|
|
7 |
7,587 |
Shell Programming and Scripting |
|
|
|
8 |
6,776 |
Programming |
|
|
|
7 |
22,169 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,905 |
Shell Programming and Scripting |
|
|
|
4 |
9,633 |
Shell Programming and Scripting |
|
|
|
0 |
1,426 |
UNIX and Linux RSS News |
|
|
|
0 |
813 |
Software Releases - RSS News |
|
|
|
0 |
845 |
Software Releases - RSS News |
|
|
|
0 |
1,022 |
Software Releases - RSS News |
|
|
|
1 |
2,150 |
Shell Programming and Scripting |
|
|
|
0 |
1,570 |
UNIX and Linux RSS News |
|
|
|
0 |
1,099 |
Software Releases - RSS News |
|
|
|
0 |
708 |
Software Releases - RSS News |
|
|
|
0 |
780 |
Software Releases - RSS News |
|
|
|
0 |
792 |
Software Releases - RSS News |
|
|
|
0 |
977 |
Software Releases - RSS News |
|
|
|
0 |
3,479 |
UNIX and Linux RSS News |
|
|
|
0 |
1,748 |
Software Releases - RSS News |
|
|
|
0 |
688 |
Software Releases - RSS News |
|
|
|
0 |
852 |
Software Releases - RSS News |
|
|
|
0 |
1,137 |
Software Releases - RSS News |
|
|
|
6 |
5,445 |
Shell Programming and Scripting |
|
|
|
5 |
6,918 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
752 |
Software Releases - RSS News |
|
|
|
2 |
7,700 |
Shell Programming and Scripting |
|
|
|
1 |
2,501 |
IP Networking |
PARALLEL-NUKE(1) PARALLEL-NUKE(1)
NAME
parallel-nuke - kill a bunch of processes on a set of machines
SYNOPSIS
parallel-nuke [OPTIONS] -h hosts.txt pattern
DESCRIPTION
pssh provides a number of commands for executing against a group of computers, using SSH. It's most useful for operating on clusters of
homogenously-configured hosts.
The parallel-nuke command is useful when you want to kill a bunch of processes on a set of machines.
OPTIONS
-h --hosts
hosts file (each line "host[:port] [user]")
-l --user
username (OPTIONAL)
-p --par
max number of parallel threads (OPTIONAL)
-o --outdir
output directory for stdout files (OPTIONAL)
-e --errdir
output directory for stderr files (OPTIONAL)
-t --timeout
timeout (secs) (-1 = no timeout) per host (OPTIONAL)
-O --options
SSH options (OPTIONAL)
-v --verbose
turn on warning and diagnostic messages (OPTIONAL)
EXAMPLE
For example, suppose you've got a bunch of java processes running on three nodes that you'd like to nuke (let's use the three machines from
the pssh example). Here you would do the following:
# parallel-nuke -h ips.txt -l irb2 java
Success on 128.112.152.122:22
Success on 18.31.0.190:22
Success on 128.232.103.201:22
ENVIRONMENT
All four programs take similar sets of options. All of these options can be set using the following environment variables:
o PSSH_HOSTS
o PSSH_USER
o PSSH_PAR
o PSSH_OUTDIR
o PSSH_VERBOSE
o PSSH_OPTIONS
SEE ALSO
parallel-ssh(1), parallel-scp(1), parallel-slurp(1), parallel-rsync(1), ssh(1)
AUTHOR
Brent N. Chun <bnc@theether.org>
COPYING
Copyright: 2003, 2004, 2005, 2006, 2007 Brent N. Chun
NOTES
1. bnc@theether.org
mailto:bnc@theether.org
03/30/2009 PARALLEL-NUKE(1)