-
Notifications
You must be signed in to change notification settings - Fork 284
/
ps_mem.1
56 lines (56 loc) · 1.3 KB
/
ps_mem.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" Simple man page to ps_mem script
.\" Contact [email protected]
.TH ps_mem 1 "25 May 2018" "" ""
.SH NAME
ps_mem \- Memory profiling tool
.SH SYNOPSIS
.B ps_mem [OPTION]...
.SH DESCRIPTION
Display the core memory used per program (not per process)
.br
.PP
In detail it reports:
.br
.PP
.RS
sum (private RAM for program processes) +
.br
sum (shared RAM for program processes)
.br
.RE
.PP
The shared RAM is problematic to calculate, and the tool automatically selects the most accurate method available for the running kernel.
.SH OPTIONS
.TP
\-h \-\-help
Show help message
.TP
\-\-version
Show version info
.TP
\-p PID[,PID2,...PIDN]
Show memory consumption for the specified processes
.TP
\-S \-\-swap
Show swap information of each item
(and Shared swap if the kernel supports SwapPss).
.TP
\-d \-\-discriminate-by-pid
Show and separate memory usage entries by process
rather than by program.
.TP
\-s \-\-split\-args
Show and separate memory usage entries by command line arguments
and not just the program name.
.TP
\-t \-\-total
Only display the total number of bytes for the selected processes
.TP
\-w N
Report memory consumption every N seconds
.\".SH SEE ALSO
.\"
.\".SH BUGS
.\"No known bugs for this template, except you might want to replace the quotes if you copy from my blog.
.SH AUTHOR
Pádraig Brady <[email protected]>