---
name: "stressapptest"
section: "1"
platform: "linux"
package: "stressapptest"
version: "1.0.11-2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/stressapptest"
---

# stressapptest(1)

stress test application for simulating high load situations

## NAME

stressapptest - stress test application for simulating high load situations

## SYNOPSIS

**stressapptest** \[*options*\]

## DESCRIPTION

This manual page documents briefly the **stressapptest** command.

**stressapptest** (unix name for Stressful Application Test) is a program that tries to maximize randomized traffic to memory from processor and I/O, with the intent of creating a realistic high load situation in order to test the existing hardware devices in a computer.

## OPTIONS

This program supports the following options:

- **-A**

  Run in degraded mode on incompatible systems.

- **-C \<threads\>**

  Number of memory CPU stress threads to run.

- **-d \<device\>**

  Add a direct write disk thread with block device (or file) 'device'.

- **-f \<filename\>**

  Add a disk thread with tempfile 'filename'.

- **-F**

  Don't result check each transaction.

- **-i \<threads\>**

  Number of memory invert threads to run.

- **-l \<logfile\>**

  Log output to file 'logfile'.

- **-m \<threads\>**

  Number of memory copy threads to run.

- **-M \<mbytes\>**

  Megabytes of RAM to test.

- **-n \<ipaddr\>**

  Add a network thread connecting to system at 'ipaddr'.

- **-p \<pagesize\>**

  Size in bytes of memory chunks.

- **-s \<seconds\>**

  Number of seconds to run.

- **-v \<level\>**

  Verbosity (0-20), default is 8.

- **-W**

  Use more CPU-stressful memory copy.

- **--blocks-per-segment \<number\>**

  Number of blocks to read/write per segment per iteration (-d).

- **--cache-size \<size\>**

  Size of disk cache (-d).

- **--cc\_inc\_count \<number\>**

  Number of times to increment the cacheline's member.

- **--cc\_line\_count \<number\>**

  Number of cache line sized datastructures to allocate for the cache coherency threads to operate.

- **--cc\_line\_size \<number\>**

  Size of cache line to use as the basis for cache coherency test data structures.

- **--cc\_test**

  Do the cache coherency testing.

- **--destructive**

  Write/wipe disk partition (-d).

- **--filesize \<size\>**

  Size of disk IO tempfiles.

- **--findfiles**

  Find locations to do disk IO automatically.

- **--force\_errors**

  Inject false errors to test error handling.

- **--force\_errors\_like\_crazy**

  Inject a lot of false errors to test error handling.

- **--listen**

  Run threads that listen for incoming net connections.

- **--local\_numa**

  Choose memory regions associated with each CPU to be tested by that CPU.

- **--max\_errors \<number\>**

  Exit early after finding specified number of errors.

- **--monitor\_mode**

  Only do ECC error polling, no stress load.

- **--no\_errors**

  Run without checking for ECC or other errors.

- **--paddr\_base \<address\>**

  Allocate memory starting from this address.

- **--pause\_delay \<seconds\>**

  Delay (in seconds) between power spikes.

- **--pause\_duration \<seconds\>**

  Duration (in seconds) of each pause.

- **--random-threads \<number\>**

  Number of random threads for each disk write thread (-d).

- **--read-block-size \<size\>**

  Size of block for reading (-d).

- **--read-threshold \<time\>**

  Maximum time (in us) a block read should take (-d).

- **--remote\_numa \<time\>**

  Choose memory regions not associated with each CPU to be tested by that CPU.

- **--segment-size \<size\>**

  Size of segments to split disk into (-d).

- **--stop\_on\_errors**

  Stop after finding the first error.

- **--write-block-size \<size\>**

  Size of block for writing (-d). If not defined, the size of block for writing will be defined as the size of block for reading.

- **--write-threshold \<time\>**

  Maximum time (in us) a block write should take (-d).

## SEE ALSO

**http://code.google.com/p/stressapptest/**

## AUTHOR

stressapptest was written by Nick Sanders and Rapahel Menderico (Google Inc).

This manual page was written by Michael Prokop \<mika@debian.org\> for the Debian project (and may be used by others).
