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


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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for stressypy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 07c0e557f45d8e77016e2279797b5faf962d88d92370c03d2ed970de717c0319
MD5 be958e10df8942dc9433e99edba9669a
BLAKE2b-256 3ed719d1ac8563f1e3c33d75516558bc5d3ff4ba9eedc0b84d75ee8cccf7edef

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