Wait for reasonable load average
Project description
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.
# Maybe you have a lot of shells doing stuff
woah tar -xvzf /tmp/foo.tar users/tim
# Limiting concurrency of xargs
(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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
woah-0.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
woah-0.1-py3-none-any.whl
(6.5 kB
view hashes)