Skip to main content

Add a 'ps' task to stressor

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stressor-ps-0.0.4.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

stressor_ps-0.0.4-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page