Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spektom/shell-utils

Various shell utilities
https://github.com/spektom/shell-utils

bash scripts-collection shell shell-scripts

Last synced: about 9 hours ago
JSON representation

Various shell utilities

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.