psrecord is a small utility that uses the psutil library to record the CPU and memory activity of a process.
The package is still under development and is therefore experimental.
This is free and open source software.
Key Features
- Record the CPU and memory activity of an existing process to a file
- Make a plot of the activity.
- Specify a maximum duration in seconds.
- Set the time between samples in seconds.
- Option to include sub-processes in the CPU and memory stats.
Website: github.com/astrofrog/psrecord
Support:
Developer: Thomas P. Robitaille
License: BSD 2-Clause “Simplified” License

psrecord is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Process Memory Tools | |
|---|---|
| ps_mem | Accurately reports memory usage of programs |
| pscircle | Visualizes Linux processes in a form of radial tree |
| psrecord | Record the CPU and memory activity of a process |
| smem2 | Reports on memory usage on Linux systems |
| process-mem | Display memory used by processes |
| process-map | Visualize the virtual memory of a process |
| Smemstat | Reports the physical memory usage |
| mstat | Measure memory usage of a program over time |
| alram | Helps when available memory is below threshold, with optional task killer |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

