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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for stressypy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 56184248d69c060bd2eb415e51384cc038e9cb8942d497f276224d4e09a846b7
MD5 e5233dd08034840a7112ffdf9c09c5a1
BLAKE2b-256 d059e1af48052d66ce367dcefbbff285167a37ec5ebffa7ef82a4db843264d4b

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