https://github.com/tuladhar/bash-parallel-scripts
Run bash scripts in parallel across servers using bash background jobs.
https://github.com/tuladhar/bash-parallel-scripts
automation bash bash-script bash-scripting hacktoberfest parallel parallel-programming
Last synced: 3 months ago
JSON representation
Run bash scripts in parallel across servers using bash background jobs.
- Host: GitHub
- URL: https://github.com/tuladhar/bash-parallel-scripts
- Owner: tuladhar
- Created: 2018-03-06T19:07:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T19:32:08.000Z (over 7 years ago)
- Last Synced: 2025-02-05T19:45:50.976Z (5 months ago)
- Topics: automation, bash, bash-script, bash-scripting, hacktoberfest, parallel, parallel-programming
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bash-parallel-scripts
Run bash scripts in parallel across servers using bash background jobs.## Prerequisite
- Servers must be one per line in `servers.txt` file and must be accessible without password using pubkey method.## How to
1. Edit `run.sh` and place your custom commands there.
2. Execute `parallel.sh` scriptNote: Per server execution logs are stored in logs directory and is overwritten on every runs.
Tips: Edit `MAX_NPROC` in `paralle.sh` to adjust # of parallel processes
## Why not use Ansible or Salt?
- Sometimes, bash script does the job done to keep things simple. For more complex command orchestration, those tools are preferred and does better job.## Author
- Puru