Woah
Woah is a script that you can wrap commands with, and it will wait until the load average is reasonable before running them.
Usage
Similar to nice, you just start your command with woah and everything after
that will be run unchanged.
Say, if you have a lot of other things going on, and want your backup to wait for things to settle down...
woah tar -xvzf /tmp/foo.tar users/tim
Or you're running multiple things with xargs, but some are more expensive than others and you want to keep your machine somewhat responsive...
(cd /users; ls -d *) | xargs -P32 -n1 --no-run-if-empty woah tar /tmp/{} /users/{}
Bugs and such
https://github.com/thatch/woah
License
Apache 2.0
Metadata
Release files for woah 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| woah-0.2.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| woah-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / woah-0.2.tar.gz
| Download URL | woah-0.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62a886ed5e16506c039216dc0b5f342e72228e2038c750a1a7574321af6d8d68
|
|
BLAKE2b-256 checksum How to use checksums |
fbf2dc6873f2763ffb457d3dbe4224ea59b21a8495fa0ef86d230b78cdba0f22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / woah-0.2-py3-none-any.whl
| Download URL | woah-0.2-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e701a8d020a09fa32199cc74b386a3bf9730910fd46a6301fbb8203f287b27d7
|
|
BLAKE2b-256 checksum How to use checksums |
5e95871090fc9c10630d457b44967c9bb9c544b858cd3a2fe6dd60f9e169d99f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|