A simple program for calling stress and/or stress-ng from python
Project description
stressypy uses the unix package stress and/or stress-ng to to stress a certain number of cpus for a certain amount of time.
Installation
stressypy can be installed with pip install stressypy
or cloned manually and setup with python setup.py install
stressypy is dependent on the stress-ng unix package. Make sure you have both installed.
Unix Distro |
Command |
---|---|
Debian |
sudo apt-get install stress-ng |
Arch Linux |
pacman -S stress-ng |
Directions
stressypy runs using the command stressy stress with the number of cpus and time passed as arguments
stressy stress 1 1 stresses 1 core for 1 second
stressy stress 7 3 stresses 7 cores for 3 second
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.