# Stress

Stress is a Docker container image and wrapper script that packages the stress Linux command-line load-testing tool so it can be run without installing the package locally. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2074/stress

## Description

Stress is a Docker container image and wrapper script that packages the stress Linux command-line load-testing tool so it can be run without installing the package locally. It performs CPU, memory, and disk load tests and includes a companion script that auto-detects the host's CPU count and free memory to apply a matching load, though you can bypass it to run raw stress commands. Configuration options control the test level and whether I/O load is applied. It is useful for benchmarking or load-testing a server or container host, especially on distributions where the stress package is missing from the repositories.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

55/100 (Fair), based on 4 of 4 factors.
- Maintained: 98 (last commit 12 days ago)
- Popular: 12 (3 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)

## Links

- Docker Hub: https://hub.docker.com/repository/docker/nickborgers/stress/general
- GitHub: https://github.com/NickBorgers/util
- Unraid: https://ca.unraid.net/apps/stress-0495g1t18ndpc5?q=stress
- Documentation: https://linux.die.net/man/1/stress

## Common questions

### How can I run stress without installing the package on the host?

Use the provided container image and wrapper script, which are intended for easy execution of stress without installing the package.

### What does the automatic test script do?

It auto-identifies the CPU count and free memory, then hogs those resources.

### Can I control whether I/O load is applied?

Yes, there are configuration options for the level of the test and whether you want it to apply I/O load.

### Can I disable the automatic CPU and memory detection?

Yes, you can bypass the auto-identifying script if you do not like how it works.

---
Source: Our Local Host (https://ourlocalhost.com/app/2074/stress), the self-hosted and open-source app directory.
