ps_mem - Man Page

Memory profiling tool

Synopsis

ps_mem [OPTION]...

Description

Display the core memory used per program (not per process)

In detail it reports:

sum (private RAM for program processes) +
sum (shared RAM for program processes)

The shared RAM is problematic to calculate, and the tool automatically selects the most accurate method available for the running kernel.

Options

-h --help

Show help message

--version

Show version info

-p PID[,PID2,...PIDN]

Show memory consumption for the specified processes

-S --swap

Show swap information of each item (and Shared swap if the kernel supports SwapPss).

-d --discriminate-by-pid

Show and separate memory usage entries by process rather than by program.

-s --split-args

Show and separate memory usage entries by command line arguments and not just the program name.

-t --total

Only display the total number of bytes for the selected processes

-w N

Report memory consumption every N seconds

Author

Pádraig Brady <P@draigBrady.com>

Info

25 May 2018