Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casperklein/docker-load
https://github.com/casperklein/docker-load
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/casperklein/docker-load
- Owner: casperklein
- Created: 2020-10-14T18:10:20.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T21:52:34.000Z (2 months ago)
- Last Synced: 2024-08-27T00:40:51.562Z (2 months ago)
- Language: Shell
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-load
![Version][version-shield]
![Supports amd64 architecture][amd64-shield]
![Supports aarch64 architecture][aarch64-shield]
![Supports armv7 architecture][armv7-shield]
![Docker image size][image-size-shield]Generate CPU load with [stress](https://packages.debian.org/buster/stress)
## Parameters
| Parameters | Description |
| - | - |
| -e THREADS="4" | Amount of threads to use |
| -e TIME="60" | Seconds to run the load |
| -e SLEEP="30" | Seconds to sleep between runs |
| -e TZ="Europe/Berlin" | Specify a timezone to use |## Run
docker run --rm -it -e TZ="Europe/Berlin" -e THREADS=4 -e TIME=60 -e SLEEP=30 casperklein/load
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-blue.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-blue.svg
[armv7-shield]: https://img.shields.io/badge/armv7-yes-blue.svg
[version-shield]: https://img.shields.io/github/v/release/casperklein/docker-load
[image-size-shield]: https://img.shields.io/docker/image-size/casperklein/load/latest