41 lines
1009 B
Groff
41 lines
1009 B
Groff
|
.\" Simple man page to ps_mem.py script
|
||
|
.\" Contact fholec@redhat.com
|
||
|
.TH ps_mem 1 "31 July 2013" "" ""
|
||
|
.SH NAME
|
||
|
ps_mem \- Memory profiling tool
|
||
|
.SH SYNOPSIS
|
||
|
.B ps_mem
|
||
|
[\-h|\-\-help] [\-s|\-\-show\-cmdline] [\-p PID] [\-w N]
|
||
|
.SH DESCRIPTION
|
||
|
The ps_mem tool can determine how much RAM is used per program (not per process).
|
||
|
.br
|
||
|
.PP
|
||
|
In detail it reports:
|
||
|
.br
|
||
|
.PP
|
||
|
.RS
|
||
|
sum(private RAM for program processes) + 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
|
||
|
\-s \-\-show\-cmdline
|
||
|
Show complete program path with options
|
||
|
.TP
|
||
|
\-p PID
|
||
|
Show memory consumption of process with specified PID
|
||
|
.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 <P@draigBrady.com>
|