Skip to main content

Create plots of memory usage for a process.

Project description

process-plot

Build Status PyPI version

Create plots of memory and CPU usage for a process.

This is a wrapper around the ps command, which polls it at a set interval.

Usage

Install the package with pip or pipx:

$ pipx install process-plot

then run:

$ pplot exec -i 0.1 "sleep 1"
PPLOT INFO: Output files will be written to: /user/pplot_out, with basename: 20210921024614
PPLOT INFO: Running process
PPLOT INFO: Total run time: 0 hour(s), 00 minute(s), 01.175246 second(s)
PPLOT INFO: Plotting results
PPLOT SUCCESS!

You will then find the output files in /user/pplot_out, with a plot for the process like:

example plot

Acknowledgements

Initially adapted from: https://github.com/jeetsukumaran/Syrupy

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

process_plot-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

process_plot-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file process_plot-0.1.0.tar.gz.

File metadata

  • Download URL: process_plot-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for process_plot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62914dd23fd5362e6ccabecdf7ed6386396636e3442f086a3bbb7c9448c87031
MD5 2782e383509953eb5830a7c351bbcc3c
BLAKE2b-256 1353562f4e185ba0a4c83d24b2a7d7b8021d7b80c8386c73a37bd3b2d70814d2

See more details on using hashes here.

File details

Details for the file process_plot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: process_plot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for process_plot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6022c8f5919f353b694fedc2558ebfe43afbdf589820dac2287da3356dd58339
MD5 8a4ba5980235101e0266e6e54711190c
BLAKE2b-256 1f023de5a64e36c736488d3715e070db5e5d209e3ca78fc1ad276d46fb97eed7

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