Skip to content

Stressor plugin that adds memory, cpu, and hardware testing functionality

License

Notifications You must be signed in to change notification settings

mar10/stressor-ps

Repository files navigation

logo stressor-ps

Latest Version License StackOverflow: stressor

Stressor plugin that adds memory, cpu, and hardware testing functionality.

Note:
This extension is currently mainly a proof of concept and example for a stressor plugin. Only a simple PsAlloc activity is implemented.
See also Writing Plugins for details.

Usage

This plugin adds new activities and macros that can be used in the same way as the the standard activities and macros.

Activities

PsAlloc Activity

Allocate and hold some memory in order to simulate RAM usage and shortage.

sequences:
  main:
    # Allocate 1 GiB of RAM per running session
    - activity: PsAlloc
      allocate_mb: 1024
      per_session: true
allocate_mb (float, mandatory)
Number of megabytes (1024^2 bytes) that should be allocated.
per_session (bool, default: false)
If true, every session will alloacate the block of memory. Otherwise (by default), only one session will allocate.

Macros

This extension does not yet implement new macros.

About

Stressor plugin that adds memory, cpu, and hardware testing functionality

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages