Add a 'ps' task to stressor
Project description
stressor-ps
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stressor-ps-0.0.4.tar.gz.
File metadata
- Download URL: stressor-ps-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85c134aab0e69d52f5f6a219b3e120c569f0962e17d778529967f2a63c7f4ed0
|
|
| MD5 |
d771de89d73db43754158501a24228f4
|
|
| BLAKE2b-256 |
c8aa6d17af1cf76e38793a04618c3149774c61da6f9689c23d4e8073e5e9a765
|
File details
Details for the file stressor_ps-0.0.4-py3-none-any.whl.
File metadata
- Download URL: stressor_ps-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
202f8c344ef3b6d590148b30e6a0fae7a49338355365035d8b7ea67ae0512cd6
|
|
| MD5 |
3901a1964a6086ad3797a5e6bd0bffd3
|
|
| BLAKE2b-256 |
0d9c968759cdcfb304149fd4df0d290b20373149c77b0b5112488abe975f94e9
|