mssh - Multi host ssh executer
This documentation refers to mssh version 0.1.
mssh [ --VERSION | --help | --man ] mssh [ -t | --test ] [ -v | --verbose ] -h host [-h host2 ..] 'remote command' mssh [ -t | --test ] [ -v | --verbose ] host [host2 ...] 'remote command' mssh [ -t | --test ] [ -v | --verbose ] -h host [-h host2 ..] OPTIONS: 'remote command' The command to execute on the remote hosts. host See --host, only use if specifying a remote command -h --host[=]str Host or range of hosts to execute 'remote command' on The range must be sourounded by [] and can be either comma seperated integer/letters or .. for a range of all values from the first to last. Note if clusterssh (cssh) is installed and no 'remote command' specified C<cssh> will be run EG [0..5] for 1,2,3,4 and 5 [0,5] 1 and 5 [0..3,5] 1,2,3 and 5 [0-5] 1,2,3,4 and 5 [0-3,5] 1,2,3 and 5 {0..5} for 1,2,3,4 and 5 {0,5} 1 and 5 {0..3,5} 1,2,3 and 5 {0-5} 1,2,3,4 and 5 {0-3,5} 1,2,3 and 5 -p --parallel[=]int Fork calls to each server to run in parallel the value limits the number of processes called at once. Note without --interleave you wont see results until the each server has completed so that results are groupped. -i --interleave When running parallel commands interleave the output of each host -t --test Just show all the commands that would be run don't actually run anything -v --verbose Show more detailed option --VERSION Prints the version information --help Prints this help information --man Prints the full documentation for mssh
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install App::MultiSsh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MultiSsh
CPAN shell
perl -MCPAN -e shell install App::MultiSsh
For more information on module installation, please visit the detailed CPAN module installation guide.