Skip to main content

A process system resource usage monitor.

Project description

psrm

A process system resource usage monitor.

Installation

Install psrm with uv (recommended), pip, or pipx:

# With uv.
uv tool install psrm@latest  # Install psrm globally.

# With pip.
pip install psrm

# With pipx.
pipx install psrm

Usage

Launch psrm to monitor the specified process; the default monitoring interval is 1 seconds.

# As a command line tool.
psrm 12345

# As a installed package.
python -m psrm 12345 1.5

psrm will continuously record the process's system resource usage and save the data to a CSV file at fixed intervals.

Visualize the recorded data:

from psrm.utils import visualize_data

visualize_data("20251225_202020_953721bb.csv")

The charts intuitively display how process resource usage changes over time.

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

psrm-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

psrm-0.1.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file psrm-0.1.2.tar.gz.

File metadata

  • Download URL: psrm-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for psrm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d6f1331480a0e04b065fdb781300217dd51664bfc5cdfaaf06185ef92a2c8f3c
MD5 e4ff02225c47904b790968ea514361a5
BLAKE2b-256 8ad76f091a9c122ec2fd8cc0d6d7008f48aa86378619c0619e2dab1089c10ca4

See more details on using hashes here.

File details

Details for the file psrm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: psrm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for psrm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebdbf960c708db6dfb054086b61f321dfdee9cb875c5341bcbb8235510c6df3a
MD5 7a919d713f9ba7e64a6c93b2d61400fb
BLAKE2b-256 1fcd6ea06225f99fb99b1ead99f4fb14fb070c92b6274ec3c6b9bdecafc38f40

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