Created
August 26, 2016 16:12
-
-
Save PankajWorks/eb161cd5803e7a6657f1b151f4c14613 to your computer and use it in GitHub Desktop.
Parallel tools for increasing productivity on linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To increase productivity there are couple of tools for parallel execution | |
Parallel version of SSH tools | |
One place to download is - http://www.theether.org/pssh/ | |
Download - https://code.google.com/archive/p/parallel-ssh/ | |
useful link : https://www.linux.com/news/parallel-ssh-execution-and-single-shell-control-them-all | |
pssh - parallel ssh | |
pscp - parallel scp | |
prsync - parallel rsync | |
pnuke - parallel nuke | |
pslurp - Parallel slurp | |
Create a file with all the hostnames | |
echo "host1\nhost2\nhost3" > hosts.txt | |
Run the pssh command | |
pssh -h hosts.txt -l ben date | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment