A process system resource usage monitor.
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 psrmLaunch psrm to monitor the specified process; the default monitoring interval is 1 seconds.
# As a command line tool.
psrm monitor 12345
# As a installed package.
python -m psrm monitor 12345 --interval 1.5psrm will continuously record the process's system resource usage and save the data to a csv file at fixed intervals.
Visualize the recorded data:
psrm plot 20251225_202020_953721bb.csvThe charts intuitively display how process resource usage changes over time.