process-mem is a command-line utility for reporting memory consumption across one or more running processes. It is designed to answer a common question: how much memory is an application using when it consists of several separate processes?
Many applications launch multiple processes for different tasks. Web browsers, terminal applications and background services can therefore be difficult to assess by examining a single PID. process-mem simplifies this by grouping processes with matching names and presenting their memory consumption together.
The software uses Python and psutil to collect process information. It provides a compact report intended for users who need an overview of memory consumption without the complexity of a general-purpose system monitor.
This is free and open source software.
Key Features
- Combine memory consumption across multiple processes with the same executable name.
- Accept several process names in one invocation and display individual group totals together with an overall total.
- Report resident memory (RSS), virtual memory size (VMS) and shared memory, together with the number of matching processes.
- Use regular expressions to match process names, including an option for case-insensitive matching.
- Restrict reports to a selected user or include processes belonging to all users.
- Provide an expanded report containing additional shared library and dirty-page memory information.
- Sort results by resident memory consumption instead of process name, with an option to reverse the sort order.
Website: github.com/gene-git/process-mem
Support:
Developer: Gene C
License: GNU General Public License v2.0
process-mem 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 carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.