procps/ps
Craig Small e782b1d859 ps: Add PSS and USS fields
The library added smaps_rollup fields in the referenced commit.
This commit exploits the new fields to give pss and uss options.

These options were first proposed back in 2015 by Petr Malat
and, with the library update, they are finally made it into ps.

Why use proportional or unique segment size? It is argued that
these give a better idea of the "real" memory usage of a process.

References:
 commit 12543b6c76
 issue #112
 https://www.freelists.org/post/procps/PSS-and-USS-support-for-ps
 https://lwn.net/Articles/230975/

Signed-off-by: Craig Small <csmall@dropbear.xyz>
2021-06-16 21:13:52 +10:00
..
common.h ps: Add PSS and USS fields 2021-06-16 21:13:52 +10:00
COPYING
display.c Set TZ to avoid repeated stat("/etc/localtime") 2020-12-22 11:09:44 +11:00
global.c ps: Add PSS and USS fields 2021-06-16 21:13:52 +10:00
HACKING
help.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
output.c ps: Add PSS and USS fields 2021-06-16 21:13:52 +10:00
parser.c ps: eliminated inadvertent trailing double semi-colons 2020-04-10 14:37:15 +10:00
ps.1 ps: Add PSS and USS fields 2021-06-16 21:13:52 +10:00
regression
select.c ps: Match on truncated 16 char for -C 2020-09-24 22:19:11 +10:00
sortformat.c all: make buildable again for new 'misc.h' header file 2021-01-21 17:30:25 +11:00
stacktrace.c misc: just eliminate several 'unused' warning messages 2016-07-26 07:59:48 +10:00