Skip to main content

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 and stress-ng packages. Make sure you have both installed.

Unix Distro

Command

Debian

sudo apt-get install stress stress-ng

Arch Linux

pacman -S stress stress-ng

Directions

stressypy runs using the command stressy stress with the number of cpus and tieme passed as arguments

stressy stress 1 1 stresses one core for 1 second stressy stress 7 3 stresses 7 cores for 3 second

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

stressypy-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

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