Scroll to navigation

STRESS(1) User Commands STRESS(1)

NAME

stress - tool to impose load on and stress test systems

SYNOPSIS

stress [OPTION [ARG]] ...

DESCRIPTION

`stress' imposes certain types of compute stress on your system

-?, --help
show this help statement
show version statement
be verbose
be quiet
show what would have been done
timeout after N seconds
wait factor of N microseconds before work starts
spawn N workers spinning on sqrt()
spawn N workers spinning on sync()
spawn N workers spinning on malloc()/free()
malloc B bytes per vm worker (default is 256MB)
touch a byte every B bytes (default is 4096)
sleep N secs before free (default none, 0 is inf)
redirty memory instead of freeing and reallocating
spawn N workers spinning on write()/unlink()
write B bytes per hdd worker (default is 1GB)

Example: stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s

Note: Numbers may be suffixed with s,m,h,d,y (time) or B,K,M,G (size).

SEE ALSO

The full documentation for stress is maintained as a Texinfo manual. If the info and stress programs are properly installed at your site, the command

info stress

should give you access to the complete manual.

March 2010 stress 1.0.4