1ps_mem(1) ps_mem(1)
2
3
4
6 ps_mem - Memory profiling tool
7
9 ps_mem [-h|--help] [-s|--show-cmdline] [-p PID] [-w N]
10
12 The ps_mem tool can determine how much RAM is used per program (not per
13 process).
14
15 In detail it reports:
16
17 sum(private RAM for program processes) + sum(Shared RAM for pro‐
18 gram processes).
19
20 The shared RAM is problematic to calculate, and the tool automatically
21 selects the most accurate method available for the running kernel.
22
24 -h --help
25 Show this help
26
27 -s --show-cmdline
28 Show complete program path with options
29
30 -p <pid>[,pid2,...pidN]
31 Only show memory usage PIDs in the specified list
32
33 -w N Measure and show process memory every N seconds
34
36 Pádraig Brady <P@draigBrady.com>
37
38
39
40 31 July 2013 ps_mem(1)