https://github.com/pozgo/docker-stress
Stress tool in a Docker (Alpine) Raspberry PI ready
https://github.com/pozgo/docker-stress
docker raspberry-pi raspberrypi stress stress-testing
Last synced: 5 days ago
JSON representation
Stress tool in a Docker (Alpine) Raspberry PI ready
- Host: GitHub
- URL: https://github.com/pozgo/docker-stress
- Owner: pozgo
- License: mit
- Created: 2017-03-09T09:57:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T13:22:57.000Z (almost 2 years ago)
- Last Synced: 2024-01-27T14:34:40.497Z (almost 2 years ago)
- Topics: docker, raspberry-pi, raspberrypi, stress, stress-testing
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 29
- Watchers: 3
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stress in a Docker (Alpine)
[](https://jenkins.ozgo.info/jenkins/job/ghp-pozgo-docker-stress/)
[](https://github.com/pozgo/docker-stress/issues)
[](https://github.com/pozgo/docker-stress)
[](https://github.com/pozgo/docker-stress)
[](https://hub.docker.com/r/polinux/stress)
[](https://hub.docker.com/r/polinux/stress)
[](http://microbadger.com/images/polinux/stress)
[](http://microbadger.com/images/polinux/stress)
[](http://microbadger.com/images/polinux/stress)
[](https://hub.docker.com/r/polinux/stress/)
Felling like supporting me in my projects use donate button. Thank You!
[](https://www.paypal.me/POzgo)
[Docker Image]() with Stress tool. This image is acting like `stress` command and passes all arguments.
### Build
docker build -t polinux/stress .
### Basic Usage
docker run \
-ti \
--rm \
polinux/stress stress \
--cpu 1 \
--io 1 \
--vm 1 \
--vm-bytes 128M \
--timeout 1s \
--verbose
Output:
docker run -ti --rm polinux/stress stress --cpu 1 --io 1 --vm 1 --vm-bytes 128M --timeout 1s --verbose
stress: info: [1] dispatching hogs: 1 cpu, 1 io, 1 vm, 0 hdd
stress: dbug: [1] using backoff sleep of 9000us
stress: dbug: [1] setting timeout to 1s
stress: dbug: [1] --> hogcpu worker 1 [5] forked
stress: dbug: [1] --> hogio worker 1 [6] forked
stress: dbug: [1] --> hogvm worker 1 [7] forked
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [7] freed 134217728 bytes
stress: dbug: [7] allocating 134217728 bytes ...
stress: dbug: [7] touching bytes in strides of 4096 bytes ...
stress: dbug: [1] <-- worker 5 signalled normally
stress: dbug: [1] <-- worker 6 signalled normally
stress: dbug: [1] <-- worker 7 signalled normally
stress: info: [1] successful run completed in 1s
## Author
Przemyslaw Ozgo ()