Curb
A lightweight and simple hardware virtualisation CLI for resource consumption management.
Use Cases:
- I'm developing a web app and my staging/prod VM has limits set on CPU/RAM - I want to test my app out locally with the same limits to make sure nothing goes wrong
- I want to run a process, and I don't want it to consume resources past a certain limit on my computer
Usage:
Sample Call
python -m curb --cmd="python scripts/empty.py"
Sample Call With Limits
python -m curb --cmd="python scripts/empty.py" --cpu="100%" --ram="512mb"
More Information
python -m curb --help