How To Stress Test CPU and Memory On a Linux

  1. stress : It is a simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system. It is written in C, and is free software licensed under the GPLv2. It is not a benchmark, but is rather a tool designed
  2. stress-ng : It is an updated version of stress tool and it will stress test a server for the following features:
    1. CPU compute
    2. Cache thrashing
    3. Drive stress
    4. I/O syncs
    5. VM stress
    6. Socket stressing
    7. Context switching
    8. Process creation and termination
    9. It includes over 60 different stress tests, over 50 CPU specific stress tests that exercise floating point, integer, bit manipulation and control flow, over 20 virtual memory stress tests.