Skip to content

Stress tool in a Docker (Alpine) Raspberry PI ready

License

Notifications You must be signed in to change notification settings

gfk-docker/docker-stress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stress in a Docker (Alpine)

CircleCI Build Status
GitHub Open Issues GitHub Stars GitHub Forks
Stars on Docker Hub Pulls on Docker Hub

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 (linux@ozgo.info)

About

Stress tool in a Docker (Alpine) Raspberry PI ready

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%