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 help message
26
27 -s --show-cmdline
28 Show complete program path with options
29
30 -p PID Show memory consumption of process with specified PID
31
32 -w N Report memory consumption every N seconds
33
35 Pádraig Brady <P@draigBrady.com>
36
37
38
39 31 July 2013 ps_mem(1)