top/ps: Add support for PSS reporting?
Hi! I'm sorry if this is wrong place to ask this, but was curious whether reporting of PSS (propotional set size) and friends (Swap, PSSwp) was ever seriously considered for top
and ps
? I know collecting these stats is slower than getting RSS & VSS and also often requires root
for incomprehensible reasons, but these other two values tend to be so far off in many cases that PSS seems like the only sane option. Also Linux 4.14 landed a major performance improvement for scanning smaps, that would prevent top
slowing down as much when displaying these values.
I see there was a ML entry in 2015 that tried to add this to ps
, but it looks like there never was a response by the author after your follow-up?
Would that patch be acceptable in principle?
Thx, Alexander