Process Resource Monitor
Monitor and enforce process resource limits
Documentation is being modernized. Expanded guides, configuration references, and usage examples are on the way.
On this page
Overview
Process Resource Monitor (PRM) is a CPU, memory, process count, and run time resource monitor for Linux and BSD systems.
PRM supports both global-scoped limits and granular rule-based limits on a per-process or per-user basis. When resource thresholds are exceeded, PRM can terminate offending processes with optional parent/child tree termination and trigger service restarts post-termination to maintain availability.
Features
Monitoring
- CPU, memory, process count, and run time resource monitoring
- Global scoped or rule-based per-process and per-user limits
- Per-user and per-command rule files for granular control
- Soft rechecks before termination to reduce false positives
Response
- Parent/child tree termination for complete process cleanup
- Service restart post-termination to maintain availability
- Root process exemption to prevent critical service disruption
- Rules-only mode and alert-only mode for flexible operation
- Regex-based ignore options for process exclusion
Installation
Install from source:
$ git clone https://github.com/rfxn/process-resource-monitor.git $ cd process-resource-monitor $ sudo ./install.sh
Install from tarball:
$ wget https://www.rfxn.com/downloads/prm-current.tar.gz $ tar xfz prm-current.tar.gz $ cd prm-*/ $ sudo ./install.sh
Verify download integrity:
$ wget https://www.rfxn.com/downloads/prm-current.tar.gz.md5 $ md5sum -c prm-current.tar.gz.md5
Version
Current version: 1.0.6
Resources
GitHub: https://github.com/rfxn/process-resource-monitor Download: https://www.rfxn.com/downloads/prm-current.tar.gz