process-plot
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:
Additional options are available:
$ pplot exec --help
Usage: pplot exec [OPTIONS] COMMAND
Execute a command and profile it.
Options:
-i, --interval FLOAT Interval in seconds
-c, --command-output [hide|screen|file]
Mode for stdout/stderr of command [default:
file]
-p, --basepath TEXT Basepath for output files
-n, --basename TEXT Basename for output files (defaults to
datetime)
-v, --verbose Increase verbosity [x>=0]
-q, --quiet Quiet mode
--help Show this message and exit.
Acknowledgements
Initially adapted from: https://github.com/jeetsukumaran/Syrupy
Metadata
Release files for process_plot 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| process_plot-0.1.1.tar.gz | 7.6 kB | Without provenance | Details for process_plot-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| process_plot-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for process_plot-0.1.1-py3-none-any.whl |
Total release size: 16.0 kB
Release files / process_plot-0.1.1.tar.gz
| Download URL | process_plot-0.1.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cec8fd7d4beca282e9016525d4cebd31840426582f45dfa05584b4746006769f
|
|
BLAKE2b-256 checksum How to use checksums |
d1a1f3379c4d12cdd55fa8b28b4fd54d5d50731035e29436014ff9269b8a6511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / process_plot-0.1.1-py3-none-any.whl
| Download URL | process_plot-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75121104de876aa8d0cddd6213fdc571ad0bda9a9a760e958e46a4cd4bbb7b28
|
|
BLAKE2b-256 checksum How to use checksums |
1902fb291c815787bdc8ab92fe32db471df49db8ee8287ac84d9c60b957f7534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for process_plot 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.