Felling like supporting me in my projects use donate button. Thank You!
Docker Image with Stress tool. This image is acting like stress
command and passes all arguments.
docker build -t polinux/stress .
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
Przemyslaw Ozgo ([email protected])