https://github.com/spektom/shell-utils
Various shell utilities
https://github.com/spektom/shell-utils
bash scripts-collection shell shell-scripts
Last synced: 4 months ago
JSON representation
Various shell utilities
- Host: GitHub
- URL: https://github.com/spektom/shell-utils
- Owner: spektom
- License: apache-2.0
- Created: 2013-12-17T14:41:09.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-18T11:39:49.000Z (over 10 years ago)
- Last Synced: 2025-05-15T16:43:56.125Z (8 months ago)
- Topics: bash, scripts-collection, shell, shell-scripts
- Language: Shell
- Size: 133 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
shell-utils
===========
Various shell utilities
### jp.sh - Job pool ###
This utility allows creating a named job pool limited by specified size,
and run some commands through it. That means that if a pool size is N,
at most N commands will be run simultaneously, others will wait until
a slot will be freed.
For example, to run at most 3 processes of cURL when downloading a lot of files,
wrap your cURL commands as follows:
```
./jp.sh "My Download Pool" 3 curl http://site1/...
./jp.sh "My Download Pool" 3 curl http://site2/...
./jp.sh "My Download Pool" 3 curl http://site3/...
...
```
##### Executing #####
```
USAGE: ./jp.sh
Where:
Job pool identifier
Job pool size
Command to run
```
### sysinfo.sh - System information collector ###
System information gathering utility, which you may have to run
when reporting on an issue from a running system.