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.
Metadata
Release files for stressor-ps 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stressor-ps-0.0.4.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stressor_ps-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / stressor-ps-0.0.4.tar.gz
| Download URL | stressor-ps-0.0.4.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85c134aab0e69d52f5f6a219b3e120c569f0962e17d778529967f2a63c7f4ed0
|
|
BLAKE2b-256 checksum How to use checksums |
c8aa6d17af1cf76e38793a04618c3149774c61da6f9689c23d4e8073e5e9a765
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / stressor_ps-0.0.4-py3-none-any.whl
| Download URL | stressor_ps-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
202f8c344ef3b6d590148b30e6a0fae7a49338355365035d8b7ea67ae0512cd6
|
|
BLAKE2b-256 checksum How to use checksums |
0d9c968759cdcfb304149fd4df0d290b20373149c77b0b5112488abe975f94e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|