1ps_mem(1) ps_mem(1)
2
3
4
6 ps_mem - Memory profiling tool
7
9 ps_mem [OPTION]...
10
12 Display the core memory used per program (not per process)
13
14 In detail it reports:
15
16 sum (private RAM for program processes) +
17 sum (shared RAM for program processes)
18
19 The shared RAM is problematic to calculate, and the tool automatically
20 selects the most accurate method available for the running kernel.
21
23 -h --help
24 Show help message
25
26 --version
27 Show version info
28
29 -p PID[,PID2,...PIDN]
30 Show memory consumption for the specified processes
31
32 -S --swap
33 Show swap information of each item (and Shared swap if the ker‐
34 nel supports SwapPss).
35
36 -d --discriminate-by-pid
37 Show and separate memory usage entries by process rather than by
38 program.
39
40 -s --split-args
41 Show and separate memory usage entries by command line arguments
42 and not just the program name.
43
44 -t --total
45 Only display the total number of bytes for the selected pro‐
46 cesses
47
48 -w N Report memory consumption every N seconds
49
51 Pádraig Brady <P@draigBrady.com>
52
53
54
55 25 May 2018 ps_mem(1)