Skip to content

Instantly share code, notes, and snippets.

@PankajWorks
Created August 26, 2016 16:12
Show Gist options
  • Save PankajWorks/eb161cd5803e7a6657f1b151f4c14613 to your computer and use it in GitHub Desktop.
Save PankajWorks/eb161cd5803e7a6657f1b151f4c14613 to your computer and use it in GitHub Desktop.
Parallel tools for increasing productivity on linux
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