ps_mem (1) Linux Manual Page
ps_mem – Memory profiling tool
Synopsis
ps_mem [-h|–help] [-s|–show-cmdline] [-p PID] [-w N]Description
The ps_mem tool can determine how much RAM is used per program (not per process).In detail it reports:
- sum(private RAM for program processes) + sum(Shared RAM for program processes).
The shared RAM is problematic to calculate, and the tool automatically selects the most accurate method available for the running kernel.
Options
- -h –help
- Show this help
- -s –show-cmdline
- Show complete program path with options
- -p <pid>[,pid2,…pidN]
- Only show memory usage PIDs in the specified list
- -w N
- Measure and show process memory every N seconds
