LinuxCommandLibrary

stressapptest

Google memory and hardware stress tester

TLDR

Run memory stress

$ stressapptest -s [60]
copy
With specific memory
$ stressapptest -M [1024] -s [60]
copy
File test
$ stressapptest -f [/tmp/testfile] -s [60]
copy
Verbose output
$ stressapptest -v [2] -s [60]
copy
Multiple threads
$ stressapptest -m [4] -s [60]
copy

SYNOPSIS

stressapptest [-s seconds] [-M mbytes] [-m threads] [options]

DESCRIPTION

stressapptest (Stressful Application Test) is a memory and hardware verification tool developed by Google to find errors in memory subsystems, disk I/O, and other hardware components. It generates realistic high-load patterns that exercise the memory bus, cache hierarchy, and storage pathways to expose intermittent hardware faults.
The tool allocates a configurable amount of memory and continuously writes data patterns, reads them back, and verifies correctness. This approach is effective at detecting ECC memory errors, faulty DIMM modules, memory controller issues, and thermal throttling problems. File I/O tests can be included to stress disk and storage controller hardware simultaneously.
Stressapptest is particularly useful for qualifying new hardware, burn-in testing servers before production deployment, and diagnosing systems that exhibit intermittent crashes or data corruption under load.

PARAMETERS

-s SEC

Duration seconds.
-M MB
Memory in MB.
-m N
Memory threads.
-f FILE
Test file.
-v LEVEL
Verbosity level.
-l FILE
Log file.

CAVEATS

Generates heat. May trigger failures. Use carefully on production.

HISTORY

stressapptest was developed by Google to stress test memory subsystems and find hardware errors.

SEE ALSO

stress(1), memtester(1), mprime(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community