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 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


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.4.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file stressypy-0.0.4.tar.gz.

File metadata

  • Download URL: stressypy-0.0.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stressypy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3bd8a381968bfd21085b92ea230aa69e7b0051a7d61eeea630ac595b91fc29dd
MD5 0a3e2722181dedc5f4afa28e7b28ea1a
BLAKE2b-256 a3b41ec81d333c5a708ce998d9b7904fb3fabd7cc24851afbd29a30447ddd970

See more details on using hashes here.

Supported by

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