Unix and Linux Discussions Tagged with parallel |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
5,440 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
6,150 |
Shell Programming and Scripting |
|
|
|
5 |
6,100 |
Shell Programming and Scripting |
|
|
|
2 |
4,675 |
Shell Programming and Scripting |
|
|
|
1 |
1,492 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
3,565 |
High Performance Computing |
|
|
|
3 |
3,047 |
Shell Programming and Scripting |
|
|
|
5 |
1,986 |
Shell Programming and Scripting |
|
|
|
1 |
6,532 |
Shell Programming and Scripting |
|
|
|
1 |
2,045 |
Shell Programming and Scripting |
|
|
|
4 |
9,435 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,247 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
2,452 |
Shell Programming and Scripting |
|
|
|
2 |
2,890 |
Shell Programming and Scripting |
|
|
|
7 |
7,556 |
Shell Programming and Scripting |
|
|
|
8 |
6,731 |
Programming |
|
|
|
7 |
22,139 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,885 |
Shell Programming and Scripting |
|
|
|
4 |
9,616 |
Shell Programming and Scripting |
|
|
|
0 |
1,417 |
UNIX and Linux RSS News |
|
|
|
0 |
811 |
Software Releases - RSS News |
|
|
|
0 |
839 |
Software Releases - RSS News |
|
|
|
0 |
1,018 |
Software Releases - RSS News |
|
|
|
1 |
2,144 |
Shell Programming and Scripting |
|
|
|
0 |
1,564 |
UNIX and Linux RSS News |
|
|
|
0 |
1,096 |
Software Releases - RSS News |
|
|
|
0 |
706 |
Software Releases - RSS News |
|
|
|
0 |
775 |
Software Releases - RSS News |
|
|
|
0 |
787 |
Software Releases - RSS News |
|
|
|
0 |
974 |
Software Releases - RSS News |
|
|
|
0 |
3,477 |
UNIX and Linux RSS News |
|
|
|
0 |
1,741 |
Software Releases - RSS News |
|
|
|
0 |
686 |
Software Releases - RSS News |
|
|
|
0 |
849 |
Software Releases - RSS News |
|
|
|
0 |
1,134 |
Software Releases - RSS News |
|
|
|
6 |
5,427 |
Shell Programming and Scripting |
|
|
|
5 |
6,912 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
749 |
Software Releases - RSS News |
|
|
|
2 |
7,674 |
Shell Programming and Scripting |
|
|
|
1 |
2,493 |
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)